Arduino TFT Text Tutorial
Intro: Arduino TFT Text Tutorial
You need this parts :
-Arduino Uno R3
- TFT Display
-The following Arduino Library
STEP 1: Src
This is the src
#include
#include #define LCD_CS A3 #define LCD_CD A2 #define LCD_WR A1 #define LCD_RD A0 #define LCD_RESET A4 Adafruit_TFTLCD tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET); #define BLACK 0x0000 #define RED 0xF800 #define GREEN 0x07E0 #define WHITE 0xFFFF #define BLUE 0x001F #define CYAN 0x07FF #define YELLOW 0xFFE0 #define MAGENTA 0xF81F void setup(void) { tft.begin(0x9341); tft.fillScreen(WHITE); // here you can change the background color } void loop(void) { tft.setTextSize(3); //you can change the font size here tft.setTextColor(BLACK); // you can change the font color here //You can enter your text here tft.println(" "); tft.println(" Simple"); tft.println(" Arduino"); tft.println(" TFT Display"); tft.println(" Text-"); tft.println(" Tutorial"); tft.setTextColor(BLUE); tft.println(" Hi :D"); delay(9999999999);
5 Comments
wwasantha 7 years ago
this is not what do you call instructable it should explain step by step with illustrations/ videos. Even for very beginner can understand.
where does your TFT and ARDUINO UNO - PIN CONNECTIONS???
at least TFT pins can identify with google.
jainrk 7 years ago
This does not look like a genuine project or code. Too many missing parts. The author does not provide a picture of a working project.
AlyssonR2 8 years ago
You have lost the library names from the #INCLUDE statements.
Arduino_Tutorials 8 years ago
oh sorry thanks for the info
Arduino_Tutorials 8 years ago
It's better you download the src