You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After wiring from GPIO12 to GPIO34 and GPIO14 to GPIO35 touch start working, it's strange because my first test i already make this wiring mod following the gpio setup from "r32-unoshield_ili9341_adc" without success.
Now the only change is
-D TOUCH_anDC=34 ; Analog pin to be connected to TFT_CS -D TOUCH_anWR=35 ; Analog pin to be connected to TFT_DC
The problem now is (All tests are following the cursor):
From UP/RIGHT corner to DOWN/LEFT corner, calibration is perfect.
From UP/LEFT corner to DOWN/RIGHT corner, touch is inverted.
RIGHT = GO UP
LEFT = GO DOWN
UP = GO RIGHT
DOWN= GO LEFT
I don't own this specific diplay brand/model, so I can't troubleshoot myself.
Thanks for solving and posting the fix, this can help future users of this device.
Perform all steps below and tick them with [x]
Describe the bug
I can't get adc touch working.
Screen is working on parallel very whell with TFT_eSPI, with default lovyangfx i get white screen but it's another bug.
Board: esp-wroom-32
DIsplay: 2.8 ILI9341 8-bit parallel with 4-wire analog touch
https://www.velleman.eu/products/view/?id=435582
Tested the same gpio setup in guislice calibration test and screen and touch work
To Reproduce
Config from r32-unoshield_ili9341_adc:
Changed in sources: touch_driver_analog.h
const int XP = TFT_D1, XM = TFT_CS, YP = TFT_DC, YM = TFT_D0; // ID=0x9341
Expected behavior
Normal touch functions
The text was updated successfully, but these errors were encountered: