Offline
Newbie
Karma: 0
Posts: 25
|
 |
« on: January 24, 2013, 06:57:11 pm » |
I try this code and keep getting an error,,, and am only a hobbyist. suggestions are appreciated.
I am using a MEGA and a SEEEDUINO 2.8 TFT Shield.
the error is in: Tft.init(); //init TFT library
// #include <stdint.h> #include <TFT.h>
void setup() {
Tft.init(); //init TFT library
/* Demo of void drawCircle(int poX, int poY, int r,unsigned int color) and void fillCircle(int poX, int poY, int r,unsigned int color); */ Tft.drawCircle(100, 100, 30,YELLOW); Tft.drawCircle(100, 200, 40,CYAN); Tft.fillCircle(200, 100, 30,RED); Tft.fillCircle(200, 200, 30,BLUE); }
void loop() { }
Thanks
|