Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apparent error in TFT_eTouchUser.h #7

Open
exVetdenteu opened this issue Feb 6, 2024 · 1 comment
Open

Apparent error in TFT_eTouchUser.h #7

exVetdenteu opened this issue Feb 6, 2024 · 1 comment

Comments

@exVetdenteu
Copy link

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

@achillhasler
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants