搭配 VisionFive 使用
适配型号
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
硬件连接

VisionFive2连接引脚对应关系
| 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
下载程序
sudo apt-get install unzip -y
sudo wget https://www.waveshare.net/w/upload/f/fc/LCD_Module_code.zip
sudo unzip ./LCD_Module_code.zip
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