Pages: [1]   Go Down
Author Topic: Help me please touch  (Read 1927 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Leeds, England
Offline Offline
Sr. Member
****
Karma: 8
Posts: 428
Quick, chuck it in the bin before the boss finds out...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That sounds as though you haven't installed any libraries that you require. How about posting some specific code and error messages?
Logged

Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 19
Posts: 3114
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
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.
Logged

Pages: [1]   Go Up
Jump to: