How to implement touch to Squareline/LVGL project, ILI9488 / XPT2046 drivers, ESP32 and Arduino

I might be missing something but I suspect this is your problem:

bool touched = false;//tft.getTouch( &touchX, &touchY, 600 );

Shouldnt it be:

bool touched = tft.getTouch( &touchX, &touchY, 600 );

?

2 Likes