I bought a SPI TFT 2.4" display with a resistive touchscreen from eBay (this one).
The screen is ILI9341 and works fine with Python and displays what I want. But how do I make use of the touch screen?
The PCB shows that the touch screen has got 5 pins: T_IRQ, T_DO, T_DIN, T_CS, T_CLK. From the Clock and CS pins presence I suspect that it's a SPI touchscreen? How do I make use of it? Ideally in Python. Any pointers?
Update: FWIW the touchscreen controller seems to be labelled XPT2046 if I'm not mistaken.
XPT2046 raspberry
... (2021 is probably a manufacture date stamp, 20th week of 2021) – jsotola Nov 07 '22 at 00:52