Arduino TFT Text Tutorial

Introduction: 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);

Step 2: Downloads

Be the First to Share

    Recommendations

    • Microcontroller Contest

      Microcontroller Contest
    • Automation Contest

      Automation Contest
    • Make it Glow Contest

      Make it Glow Contest

    5 Comments

    0
    wwasantha
    wwasantha

    3 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.

    0
    jainrk
    jainrk

    3 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.

    0
    AlyssonR2
    AlyssonR2

    5 years ago

    You have lost the library names from the #INCLUDE statements.

    0
    Arduino_Tutorials
    Arduino_Tutorials

    Reply 5 years ago

    oh sorry thanks for the info