mirror of
https://github.com/goodtft/LCD-show.git
synced 2024-11-28 17:24:12 +01:00
update resolution
This commit is contained in:
parent
821280e139
commit
9a3fef148c
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user