-
Notifications
You must be signed in to change notification settings - Fork 199
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
TOUCH_CS undefined warning in hello world example #213
Comments
The touch screen is not sharing a bus with the display (see https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display/blob/main/PINS.md#touch-screen ), which is not supported by the TFT_eSPI library. The warning is nothing to worry about. For details on how to setup the thouch screen you can have a look at the other examples. |
My point was that (somehow) the display would not work until TOUCH_CS was defined. |
There should be no correlation between that warning an the screen working (/not working) |
Quite! But that was what happened. |
Hey! I had a similar problem, are you using PIO or Arduino IDE? |
I'm using arduino IDE. |
Ah then start using PIO, it worked for me and it's overall better. |
I'm a complete newbee to CYD - thanks so much for your brilliant intro into using this kit.
Trying the Hello World example I was getting TOUCH_CS undefined warnings, and a blank LCD screen.
Uncommenting one of the TOUCH_CS lines in User_Setup.h got it working.
But I'm unsure what the correct setting for TOUCH_CS should be, your Pin Descriptions page indicates it might be 33, is this right?
If so it might be worth updating the User_Setup.h file to include this and avoid confusion for other newbees like me.
Thanks again.
Steve.
The text was updated successfully, but these errors were encountered: