error: 'tft' was not declared in this scope #1795
Unanswered
2ant
asked this question in
Q&A - General
Replies: 1 comment 1 reply
-
You have missing public declaration of extern TFT_eSPI tft; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm having trouble tring to order my code from spaghetti to nice .cpp and .h files.
I thought that puting :
At the start before the setup made so tft was global and accessible from anywhere.
I have a Functions.cpp file with :
I got this error : \Functions.cpp:8:3: error: 'tft' was not declared in this scope
I don't know what to do.
Beta Was this translation helpful? Give feedback.
All reactions