Upgrading to TFT_eSPI from version 2.3.4 to 2.3.61 resulted in the following error when compiling the TFT_eSPi > 480x320 > Touch_Controller_demo example sketch
/Users/hans/Dropbox/• ARDLAB/98. ESP32/••• PROJECT ESP32 TOUCH KIT/SKETCHES/GETEST EN WERKT/Touch_Controller_Demo/Touch_Controller_Demo.ino: In function 'void setup()':
Touch_Controller_Demo:46:9: error: 'class TFT_eSPI' has no member named 'setTouch'
tft.setTouch(calibrationData);
^
Touch_Controller_Demo:49:9: error: 'class TFT_eSPI' has no member named 'calibrateTouch'
tft.calibrateTouch(calibrationData, TFT_WHITE, TFT_RED, 15);
^
/Users/hans/Dropbox/• ARDLAB/98. ESP32/••• PROJECT ESP32 TOUCH KIT/SKETCHES/GETEST EN WERKT/Touch_Controller_Demo/Touch_Controller_Demo.ino: In function 'void loop()':
Touch_Controller_Demo:66:11: error: 'class TFT_eSPI' has no member named 'getTouch'
if (tft.getTouch(&x, &y)) {
^
exit status 1
'class TFT_eSPI' has no member named 'setTouch'
Downgrading to version 2.3.4 resolves the problem.
Great library, congrats to Bodmer.