I bought Auduino TFT screen and connected it to Auduino uno.
I followed the instruction below.
I didn't have a SD card so I made a small code to check the display properly.
But when I wrote the code to Arduino, it showed stripe lines on LCD display..
I don't know why this is happened..
Does anyone help me?
Thanks in advance.
The sorce code I wrote is below.
#include <SPI.h>
#include <SD.h>
#include <TFT.h> // Arduino LCD library
// pin definition for the Uno
#define sd_cs 4
#define lcd_cs 10
#define dc 9
#define rst 8
TFT TFTscreen = TFT(lcd_cs, dc, rst);
// this variable represents the image to be drawn on screen
PImage logo;
void setup() {
TFTscreen.begin();
TFTscreen.background(255, 255, 255);
TFTscreen.println("Arduino TFT Bitmap Example");
}
void loop() {
}