TFT_eSPI
TFT_eSPI copied to clipboard
Esp32 with ILI9488 touch not working
hello, i hope you can help.I have bought 5 screen, one runs touch correctly (normal z raw is around 90) and the others all have 1890 normal z raw value. and they don't work as well(I guess the program thinks I am pressing them but it is the untouched)
this is my circuit diagram , and i use touch_calibrate example
This is the one with same circuit and calibration code(may be only this screen is OK?
Try using the optional touch threshold parameter, by default it is 600, see here: https://github.com/Bodmer/TFT_eSPI/blob/master/Extensions/Touch.h#L11-L18
Maybe a threshold of 2000 would work.
@Bodmer thank you for replying,so I should simply modify the 600 to 2000?
Just add the extra parameter to get touch to define the threshold, e.g.: tft.getTouch(&x, &y, 2000);
@Bodmer thabk you for the suggestion