Skip to content

Instantly share code, notes, and snippets.

@melvyniandrag
Last active September 18, 2024 14:30
Show Gist options
  • Save melvyniandrag/f90fd5d22cfd467b28ab324c2c6c5280 to your computer and use it in GitHub Desktop.
Save melvyniandrag/f90fd5d22cfd467b28ab324c2c6c5280 to your computer and use it in GitHub Desktop.

Revisions

  1. melvyniandrag revised this gist Jun 8, 2022. No changes.
  2. melvyniandrag revised this gist Jun 8, 2022. No changes.
  3. melvyniandrag revised this gist Jun 8, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion notes.txt
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,4 @@ then

    apt install xinput-calibrator

    then run the calibrator
    then run the calibrator. Preferences > calibrate touch screen.
  4. melvyniandrag created this gist Jun 8, 2022.
    10 changes: 10 additions & 0 deletions extraLines.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    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
    9 changes: 9 additions & 0 deletions notes.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    append the above to your /boot/config.txt

    then reboot

    then

    apt install xinput-calibrator

    then run the calibrator