跳到主要内容

搭配 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

硬件连接​

0

VisionFive2连接引脚对应关系

LCDVisionFive2 Board物理引脚序号
VCC3.3V
GNDGND
DIN19
CLK23
CS24
DC22
RST13
BL12

安装对应的库文件​

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