TFT_eSPI icon indicating copy to clipboard operation
TFT_eSPI copied to clipboard

ILI9341 with ESP32. Error in touch.

Open DamianosMk opened this issue 2 years ago • 1 comments

User_Setup.zip I am using the esp32 with the ili9341 display. I tried to upload the Test_Touch_Controller example. I try to upload it and it says Compilation error: 'class TFT_eSPI' has no member named 'getTouchRaw' . I am using the ArduinoIDE, the latest library version and SPI. I have wired the display according to the user_setup.h

DamianosMk avatar Mar 23 '24 18:03 DamianosMk

You need to define and wire TOUCH_CS pin for touch chip select. The library assumes MOSI/MISO/CLK are shared with the touch, so make sure they are connected as such, as many displays have separate SPIs for display and touch - in such case you want to join them yourself.

AgainPsychoX avatar Mar 29 '24 21:03 AgainPsychoX