2.8" TFT Touch Shield & TFT and TouchScreen libary

Hey,

i have a new TFT Touch Shield v1 and an Arduino Uno V3. I pluged this two together and first i used the touchscreenexample. In the serial monitor i could see, that i touched the display. After this i tried the Text and the drawCircles examples, but none of them worked, i can only see the backlight. Where is my mistake? Hope you can help me.

Thanks!
Rik

What sketch did you use? Let us know more about how you used it.

Regards,
Steve

I use the 2.8" TFT Touch Shield [1] and the Arduino UNO [2]. I connected them by easily putting them together.
Then I compiled und uploaded:

// Draw Circles - Demonstrate drawCircle and fillCircle APIs

#include <stdint.h>
#include <TouchScreen.h>
#include <TFT.h>

#ifdef SEEEDUINO
  #define YP A2   // must be an analog pin, use "An" notation!
  #define XM A1   // must be an analog pin, use "An" notation!
  #define YM 14   // can be a digital pin, this is A0
  #define XP 17   // can be a digital pin, this is A3 
#endif

#ifdef MEGA
  #define YP A2   // must be an analog pin, use "An" notation!
  #define XM A1   // must be an analog pin, use "An" notation!
  #define YM 54   // can be a digital pin, this is A0
  #define XP 57   // can be a digital pin, this is A3 
#endif 

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()
{
  
}

after uploading the screen is white (so the backlight is working) but there is nothing more.

I hope I answered your question with this.

[1] seeedstudio.com/wiki/2.8%27% … uch_Shield
[2] seeedstudio.com/wiki/Arduino_UNO

The Sketch on the Wiki page does not work, use the examples included with the libraries.