mirror of
https://github.com/goodtft/LCD-show.git
synced 2025-02-17 23:54:16 +01:00
update resolution
This commit is contained in:
parent
a64289cbcc
commit
821280e139
@ -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_group=2" >> ./boot/config.txt.bak
|
||||||
sudo echo "hdmi_mode=1" >> ./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_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 echo "hdmi_drive=2" >> ./boot/config.txt.bak
|
||||||
sudo cp -rf ./boot/config.txt.bak /boot/config.txt
|
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
|
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 ./usr/inittab /etc/
|
||||||
#sudo cp ./boot/config-32.txt /boot/config.txt
|
#sudo cp ./boot/config-32.txt /boot/config.txt
|
||||||
sudo touch ./.have_installed
|
sudo touch ./.have_installed
|
||||||
echo "gpio:resistance:32:270:320:240" > ./.have_installed
|
echo "gpio:resistance:32:270:480:360" > ./.have_installed
|
||||||
|
|
||||||
#FBCP install
|
#FBCP install
|
||||||
wget --spider -q -o /dev/null --tries=1 -T 10 https://cmake.org/
|
wget --spider -q -o /dev/null --tries=1 -T 10 https://cmake.org/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user