Go Down

Topic: Help me please touch (Read 2 times) previous topic - next topic

bcracing1

hello I have a arduino one and 2,8"" tft touch shield  sld 62445pm I wold make a projec with TFT I need the first steeps for straritng use the tft.
You send Exampels? I found exampels for internet but is dosen't when  I compilated  apear very error and not found library. I have more examples but dosen't work in my orduino.

Tank' you very much


dannable

That sounds as though you haven't installed any libraries that you require. How about posting some specific code and error messages?
Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

bcracing1

I copy the librery that download and put in the folder library
Thanks

C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\ITDB02_Touch.cpp:45:22: error: WProgram.h: No such file or directory
In file included from C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\ITDB02_Touch.cpp:46:
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\/ITDB02_Touch.h:57: error: 'word' does not name a type
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\/ITDB02_Touch.h:59: error: expected `)' before 'tclk'
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\/ITDB02_Touch.h:61: error: 'byte' has not been declared
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\/ITDB02_Touch.h:66: error: 'byte' has not been declared
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\/ITDB02_Touch.h:69: error: 'byte' does not name a type
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\/ITDB02_Touch.h:70: error: 'byte' does not name a type
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\/ITDB02_Touch.h:71: error: 'byte' does not name a type
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\/ITDB02_Touch.h:73: error: 'byte' has not been declared
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\/ITDB02_Touch.h:74: error: 'word' does not name a type
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\ITDB02_Touch.cpp:49: error: expected `)' before 'tclk'
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\ITDB02_Touch.cpp:58: error: variable or field 'InitTouch' declared void
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\ITDB02_Touch.cpp:58: error: 'byte' was not declared in this scope
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\ITDB02_Touch.cpp:74: error: variable or field 'touch_WriteData' declared void
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\ITDB02_Touch.cpp:74: error: 'byte' was not declared in this scope

bcracing1

this is a big erro:
r error: 'byte' has not been declared

dxw00d

Code: [Select]
C:\Users\albert\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFTTouch\ITDB02_Touch.cpp:45:22: error: WProgram.h: No such file or directory

Ignoring the fact that you shouldn't put downloaded libraries in the IDE core libraries folder, this is the error that you need to fix. That library hasn't been updated for IDE 1.0+.

See point 2 at http://arduino.cc/forum/index.php/topic,97455.0.html.

Go Up