I've been struggling for a while to get my Arduino TFT display to work. It's this exact onehttp://arduino.cc/en/Main/GTFT
Purchased it here if you need to confirm itemhttp://www.robotmesh.com/arduino/arduino-tft-lcd-screen
I wired up per this page (has an error I think)http://arduino.cc/en/Guide/TFTtoBoards
Ran the sample sketch TFTDisplayText. All I'd get are black and lighter black bars across the screen. I found I could change the color of every other bar by adjusting the values in TFTscreen.background(0, 0, 0); so I had it partially working.
Eventually out of sheer frustration I started swapping wires around and after a long time I found if I swapped pin 9 & 10 around (D/C and LCD/CS) the screen would light up normal and display my text. This is rather odd because the code defines
#define cs 10
#define dc 9
yet I'm wiring what is marked as CS on the circuit board to pin 9 and what's marked as DC on the circuit board to pin 10. Yet the display works (sort of). I don't see how there could be a miss print on the circuit board and the Arduino website show it wrong too. There has to be more to it that I'm missing.
Now the strange problem. I upload the sketch and it displays my text. That's it. If I change the display text in the sketch and re-upload it, the screen blanks and comes back as the Arduino resets but the old text displays. It's like the screen never gets the new instruction. If I power the whole thing off and back on the screen is just a weird fuzz like a TV with no antenna. I can keep reloading my sketch and nothing.
However. I found if I swap pins 9 & 10 again and upload my sketch I get the black bars again but this also resets something. I swap the pins back and now my new sketch with new text will upload and display. Once again stuck with only that text till I flip 9 & 10, upload, get the bars, flip them back reupload etc.
I'm sure I'm missing something simple but just not seeing it. Any ideas guys?