Waveshare 3.5 吋 LCD 記錄
It is much simpler than Kedei LCD as it is supported by fbtft and device overlay
-
Update RPi kernel to latest by “rpi-update”
-
Clone the waveshare device tree overlay git repository
-
Copy waveshare-dtoverlays/waveshare35a-overlay.dtb from the repositroy to /boot/overlays/waveshare35a.dtbo
-
Add dtoverlay=waveshare35a to /boot/config.txt
-
Ensure SPI is enabled in /boot/config.txt
dtparam=spi=on
-
Reboot and use /dev/fb1 as the device for graphical output
-
For console output, add to /boot/cmdline:
console=ttyAMA0,115200 fbcon=map:10 fbcon=font:ProFont6x11 consoleblank=0