Open exVetdenteu opened 8 months ago
The define TOUCH_CS is used when you use the touch functionality of TFT_eSPI. When you use my Touch library TFT_eTouch you have to define TFT_ETOUCH_CS, not TOUCH_CS. When compiling TFT_eSPI you see: #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available! And that's fine when you use TFT_eTouch
TFT_eTouchUser.h : Lines 68-70
ifdef TOUCH_CS // was ifdef - obviously error
error undef TOUCH_CS in TFT_eSPI UserSetup.h for using TFT_eTouch
endif
ifdef should be ifndef