XPT2046 Touch with ILI9341 Display
Posted: Tue Aug 03, 2021 10:27 am
Hi
I am experimenting with the ili9341 display but the touch part seems to have bug
I just made this very simple program to test the touch.
here is what I get on the serial output
there seem to be 4 problems
1, Sample sensor always return 1 even if the screen is not touched
2, X coordination never gives output value
3, Y gives the X and Y coordination ( if I go from left to right value change also changes if I go from up and down )
4, Pressure never goes to 0 even if the display is not touched
I am using STM23F407
Any help please
I am experimenting with the ili9341 display but the touch part seems to have bug
I just made this very simple program to test the touch.
here is what I get on the serial output
there seem to be 4 problems
1, Sample sensor always return 1 even if the screen is not touched
2, X coordination never gives output value
3, Y gives the X and Y coordination ( if I go from left to right value change also changes if I go from up and down )
4, Pressure never goes to 0 even if the display is not touched
I am using STM23F407
Any help please