Hi,
I am using a BuyDisplay 2.4" and 2.8" both using ILI9341 and xpt2046 for TP. I have tested both displays, connected to an Adafruit Metro M4 board using hardware SPI. Using the Adafruit_ILI9341.h & your XPT_Touchscreen.h library and using your TouchTest.ino example code. The displays alone work fine. Both TP's however do not work - the Arduino IDE serial monitor displays continuously (Pressure (z) = 4095, x = 0, y = 0). It seems to think the touch panel is always being touched but it is not. I have tried a second board Adafruit Grand Central M4 and it to exhibits the same issue with both display TP's. Your help would be greatly appreciated.
Wiring:
[Display Signals] [Metro M4 Signals]
D/C(SCL) ---- SCK
LCD_SDI ---- MOSI
LCD_SDO ---- MISO
TP_CS ---- D8
Thanks,
Jim
I am using a BuyDisplay 2.4" and 2.8" both using ILI9341 and xpt2046 for TP. I have tested both displays, connected to an Adafruit Metro M4 board using hardware SPI. Using the Adafruit_ILI9341.h & your XPT_Touchscreen.h library and using your TouchTest.ino example code. The displays alone work fine. Both TP's however do not work - the Arduino IDE serial monitor displays continuously (Pressure (z) = 4095, x = 0, y = 0). It seems to think the touch panel is always being touched but it is not. I have tried a second board Adafruit Grand Central M4 and it to exhibits the same issue with both display TP's. Your help would be greatly appreciated.
Wiring:
[Display Signals] [Metro M4 Signals]
D/C(SCL) ---- SCK
LCD_SDI ---- MOSI
LCD_SDO ---- MISO
TP_CS ---- D8
Thanks,
Jim