Last active
September 18, 2024 14:30
-
-
Save melvyniandrag/f90fd5d22cfd467b28ab324c2c6c5280 to your computer and use it in GitHub Desktop.
Elecrow 5 inch touch screen rpi config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hdmi_group=2 | |
hdmi_mode=1 | |
hdmi_mode=87 | |
hdmi_cvt 800 400 60 6 0 0 0 | |
dtparam=spi=on | |
dtparam=i2c_arm=on | |
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900 | |
dtoverlay=w1-gpio-pullup,gpiopin=4,extpullup=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
append the above to your /boot/config.txt | |
then reboot | |
then | |
apt install xinput-calibrator | |
then run the calibrator. Preferences > calibrate touch screen. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment