Arduino TFT Text Tutorial

You need this parts :

-Arduino Uno R3

- TFT Display

-The following Arduino Library

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    5 Discussions

    None
    wwasantha

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

    None
    jainrk

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

    None
    AlyssonR2

    3 years ago

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

    1 reply