模板: LCD for VisionFive2 use
来自Waveshare Wiki
VisionFive2
适配型号
0.96inch LCD Module
1.14inch LCD Module
1.28inch LCD Module
1.3inch LCD Module
1.54inch LCD Module
1.8inch LCD Module
2inch LCD Module
2.4inch LCD Module
硬件连接
LCD | VisionFive2 Board物理引脚序号 |
VCC | 3.3V |
GND | GND |
DIN | 19 |
CLK | 23 |
CS | 24 |
DC | 22 |
RST | 13 |
BL | 12 |
安装对应的库文件
apt-get install pip pip install VisionFive.gpio apt-get install python3-numpy apt-get install python3-pil
下载程序
apt-get install p7zip-full wget https://www.waveshare.net/w/upload/e/e9/LCD_Module_code.7z 7z x LCD_Module_code.7z -o./LCD_Module_code cd LCD_Module_code/VisionFive/python/example/
根据您所购买的屏幕运行下面对应的程序
python3 0inch96_LCD_test.py python3 1inch14_LCD_test.py python3 1inch28_LCD_test.py python3 1inch3_LCD_test.py python3 1inch54_LCD_test.py python3 1inch8_LCD_test.py python3 2inch_LCD_test.py python3 2inch4_LCD_test.py