Arduino TFT Problems

Hey there!
I've started to work with the arduino UNO, it's working perfect, so i doubt the arduino itself is why this is not working.

I have the arduino TFT screen, the one meant for use with the esplora.
The screen works, i can display color, and the like, but most of the stuff (displaying test, etc...) i should be able to do does not work, it seems to be a problem in the screen itself, but i'm not sure, so i came here to ask you. I do not have a SD on the lcd.

Here are some images of what happens, and how have i setted up the circuit:

As you can see, there are some lines that are not drawn.

And here is the code i'm trying to run:

#include <TFT.h> 
#include <SPI.h>

#define CS   10
#define DC   9
#define RESET  8  



TFT myScreen = TFT(CS, DC, RESET);


int counter = 0;

char printout[4];

void setup(){
  myScreen.begin();  
  myScreen.background(150,0,0); // clear the screen
  myScreen.stroke(255,0,255);
  // static text
  myScreen.text("Running for",50, 40);
  myScreen.text("seconds",90,50);  
  // increase font size for text in loop()
  myScreen.setTextSize(3);
}

void loop(){
    // get elapsed time
    delay(1000);
    counter = millis();
    // convert to a string
    String elapsedTime = String(counter/1000);
    // add to an array
    elapsedTime.toCharArray(printout,4);
    // print out and erase
    myScreen.stroke(255,255,255);
    myScreen.text(printout,50,10);
    delay(1000);
    myScreen.background(0,0,255);
    myScreen.stroke(0,0,0);
    myScreen.text(printout,50,10);
}

The color changing works (Just before the loop function ends, i'm changing background color, that's the only thing that works), but the text does not seem to display, and there are some lines not displayed.
If i run a code that does nothing on loop() the result is the same, i get these black lines.

Thanks for your help!
(I hope i have posted this in the right place)
Cheers! :slight_smile:

The 'fix' for this appears to be to use IDE v1.5.8.

Hope this helps.

Regards,

Graham

Thanks! I can finally keep going with my project.

Cheers!