模板: LCD for VisionFive2 use

来自Waveshare Wiki
跳转至: 导航搜索

VisionFive2

适配型号

硬件连接

0.96-VisionFive2.jpg

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

下载程序

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