Problem using the Arduino TFT with Yun

Hi All.

I have recently bough an Arduino Yun and since next to it was the Arduino TFT I grabbed one as well.

I am trying now to make a simple "Hello world" program but I had no luck so far. :sob:

I connected the screen like in this example ( http://arduino.cc/en/uploads/Tutorial/GTFT_text_large.png )
and I have adapted the TFTDisplayText example to only display a "Hello" on the screen.

Here is the code:

#include <TFT.h>  // Arduino LCD library
#include <SPI.h>

// pin definition for the Uno
#define cs   10
#define dc   9
#define rst  8  

// pin definition for the Leonardo
// #define cs   7
// #define dc   0
// #define rst  1 

// create an instance of the library
TFT TFTscreen = TFT(cs, dc, rst);

// char array to print to the screen

void setup() {
  
  // Put this line at the beginning of every sketch that uses the GLCD:
  TFTscreen.begin();

  // clear the screen with a black background
  TFTscreen.background(0, 0, 0);
  
  // write the static text to the screen
  // set the font color to white
  TFTscreen.stroke(255,255,255);
  // set the font size
  TFTscreen.setTextSize(2);
}

void loop() {



  // set the font color
  TFTscreen.stroke(255,255,255);
  // print the sensor value
  TFTscreen.text("Hello" , 0, 20);
  // wait for a moment
  delay(250);
  // erase the text you just wrote
  TFTscreen.stroke(0,0,0);
  TFTscreen.text("Hello", 0, 20);
}

Although the screen lits, there is nothing that is displayed there and I am at lost.

Note that although I am an experienced programmer, this is my first attempt to do anything with the Arduino.

Thanks a lot in advance for any help :smiley_cat: