modify nano 2.4inch touchscreen gpio

This commit is contained in:
goodtft 2021-12-16 07:01:32 +00:00
parent 0f1be15f23
commit 964ba7196b
2 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ sudo echo "hdmi_mode=1" >> ./boot/config.txt.bak
sudo echo "hdmi_mode=87" >> ./boot/config.txt.bak
sudo echo "hdmi_cvt 320 240 60 6 0 0 0" >> ./boot/config.txt.bak
sudo echo "hdmi_drive=2" >> ./boot/config.txt.bak
sudo echo "dtoverlay=spi0-2cs,cs1_pin=4,0x01" >> ./boot/config.txt.bak
sudo echo "gpio=18=op,dh" >> ./boot/config.txt.bak
sudo cp -rf ./boot/config.txt.bak /boot/config.txt

Binary file not shown.