#include "Adafruit_ILI9341.h"
#define TFT_DC 9
#define TFT_CS 10
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
void setup() {
tft.begin();
tft.setCursor(5, 50);
tft.setTextColor(ILI9341_RED);
tft.setTextSize(3);
tft.println("Hello, There!");
tft.setCursor(20, 100);
tft.setTextColor(ILI9341_GREEN);
tft.setTextSize(2);
tft.println("Green color");
tft.setCursor(20, 150);
tft.setTextColor(ILI9341_ORANGE);
tft.setTextSize(2);
tft.println("Orange color");
tft.setCursor(20, 200);
tft.setTextColor(ILI9341_PURPLE);
tft.setTextSize(2);
tft.println("Purple color");
}
void loop() { }