本程序均在Raspberry Pi 4B上进行验证。
- #python3
- sudo apt-get update
- sudo apt-get install python3-pip
- sudo apt-get install python3-pil
- sudo apt-get install python3-tqdm
- sudo apt-get install python3-numpy
- sudo apt-get install python3-progressbar
打开树莓派终端,执行:
- sudo apt-get install p7zip-full
- sudo wget https://www.waveshare.net/w/upload/2/2e/Cloud_RPI.7z
- 7z x Cloud_RPI.7z
- cd Cloud_RPI
- #该程序会根据程序生成对应尺寸的图形和读取一张图片并发送给从机显示
- python3 ./examples/4.2inch_display_EPD