update resolution

This commit is contained in:
goodtft 2022-07-05 15:55:36 +08:00 committed by GitHub
parent 821280e139
commit 9a3fef148c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ sudo echo "dtoverlay=tft9341:rotate=270" >> ./boot/config.txt.bak
sudo echo "hdmi_group=2" >> ./boot/config.txt.bak
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_cvt 480 360 60 6 0 0 0" >> ./boot/config.txt.bak
sudo echo "hdmi_drive=2" >> ./boot/config.txt.bak
sudo cp -rf ./boot/config.txt.bak /boot/config.txt
sudo cp -rf ./usr/99-calibration.conf-32-270 /etc/X11/xorg.conf.d/99-calibration.conf
@ -37,7 +37,7 @@ sudo cp -rf ./usr/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf
sudo cp ./usr/inittab /etc/
#sudo cp ./boot/config-32.txt /boot/config.txt
sudo touch ./.have_installed
echo "gpio:resistance:32:270:320:240" > ./.have_installed
echo "gpio:resistance:32:270:480:360" > ./.have_installed
#FBCP install
wget --spider -q -o /dev/null --tries=1 -T 10 https://cmake.org/