Quantcast
Channel: Seeedstudio Forum
Viewing all articles
Browse latest Browse all 6612

2.8" TFT Display Shield Issue

$
0
0
That was the very first thing I tried when I got the TFT display. I set up the library "TFT" as instructed but none of the example programs provided in the link will compile. I just get a slew of errors and I have no idea how to correct them. Here, for example, are the errors I get when I try to compile the example "TFTEtchASketch" file provided in the download.

TFTEtchASketch:30: error: no matching function for call to 'TFT::TFT(int, int, int)'
C:\Users\Richard\Documents\Arduino\libraries\TFT/TFT.h:133: note: candidates are: TFT::TFT()
C:\Users\Richard\Documents\Arduino\libraries\TFT/TFT.h:133: note: TFT::TFT(const TFT&)
TFTEtchASketch:33: error: 'class TFT' has no member named 'width'
TFTEtchASketch:34: error: 'class TFT' has no member named 'height'
TFTEtchASketch.ino: In function 'void setup()':
TFTEtchASketch:43: error: 'class TFT' has no member named 'begin'
TFTEtchASketch:45: error: 'class TFT' has no member named 'background'
TFTEtchASketch.ino: In function 'void loop()':
TFTEtchASketch:75: error: 'class TFT' has no member named 'stroke'
TFTEtchASketch:76: error: 'class TFT' has no member named 'point'
TFTEtchASketch:80: error: 'class TFT' has no member named 'background'

Statistics : Posted by richard.stattel • on Fri Nov 15, 2013 9:52 pm • Replies 3 • Views 63

Viewing all articles
Browse latest Browse all 6612

Trending Articles