esploratft was not declared in this scope

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!

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 :frowning:

Try

Tools>Board>Arduino Esplora

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

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

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...

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...

Did you "import" the EsploraTFT library first?

Ralf

Don't forget

#include<TFT.h>

&

#include<SPI.h>

and in void setup do proper functs