Go Down

Topic: esploratft was not declared in this scope (Read 6307 times) previous topic - next topic

mactsk

Hi! i have a new esplora and original arduino tft, no matter what example i take, from arduino site or others, and with ide 1.0.5 or 1.5, i always get that error...

somebody knows why?

Thanx!

mactsk

ok now it seems to work, i had selected the wrong board, however my lcd seems broken, the screen is mounted tilted on the pcb i can only see scan lines garbage :-(


Try

Tools>Board>Arduino Esplora

whenever i upload a sketch and its set to Arduino UNO i get your same error

aos4life

How did you fix it? I'm having the same problem. I've selected the correct board and com. I still get the error..

aos4life

Arduino: 1.5.8 (Windows 7), Board: "Arduino Esplora"

sketch_oct03b.ino:23:12: error: 'EsploraTFT' was not declared in this scope
sketch_oct03b.ino:24:12: error: 'EsploraTFT' was not declared in this scope
sketch_oct03b.ino: In function 'void setup()':
sketch_oct03b.ino:28:3: error: 'EsploraTFT' was not declared in this scope
sketch_oct03b.ino: In function 'void loop()':
sketch_oct03b.ino:72:3: error: 'EsploraTFT' was not declared in this scope
Error compiling.

Here's this if it helps...

PCWorxLA

Arduino: 1.5.8 (Windows 7), Board: "Arduino Esplora"

sketch_oct03b.ino:23:12: error: 'EsploraTFT' was not declared in this scope
sketch_oct03b.ino:24:12: error: 'EsploraTFT' was not declared in this scope
sketch_oct03b.ino: In function 'void setup()':
sketch_oct03b.ino:28:3: error: 'EsploraTFT' was not declared in this scope
sketch_oct03b.ino: In function 'void loop()':
sketch_oct03b.ino:72:3: error: 'EsploraTFT' was not declared in this scope
Error compiling.

 Here's this if it helps...
Did you "import" the EsploraTFT library first?

Ralf

Legoman39

Don't forget

#include<TFT.h>

&

#include<SPI.h>

and in void setup do proper functs

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy