ESP32-S3 XPT2046_Touchscreen

I fiddle with an ILI9341 and the XPT2046 Touch. No success I opened a case in Github. No replay yet.

SPIClass mySpi = SPIClass(VSPI);
XPT2046_Touchscreen ts(XPT2046_CS, XPT2046_IRQ);

TFT_eSPI tft = TFT_eSPI();

void setup() {
  Serial.begin(115200);

  Serial.print("MOSI: ");
  Serial.println(MOSI);
  Serial.print("MISO: ");
  Serial.println(MISO);
  Serial.print("SCK: ");
  Serial.println(SCK);
  Serial.print("SS: ");
  Serial.println(SS);  

  // Start the SPI for the touch screen and init the TS library
  mySpi.begin(XPT2046_CLK, XPT2046_MISO, XPT2046_MOSI, XPT2046_CS);

With as little information as presented here? No surprise then.

Maybe if you posted code that will compile, you would get a response.

The Adafruit ILI9341 and XPT2046 setup does work on an ESp32S3.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.