#include "SPI.h"
#include "Adafruit_GFX.h"
#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.setRotation(1);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(1);
tft.println("Initializing. . .");
tft.setCursor(50, 130);
tft.setTextColor(ILI9341_GREEN);
tft.setTextSize(2);
tft.println("System Test. . .");
delay(5000);
tft.setCursor(120, 180);
tft.setTextColor(ILI9341_GREEN);
tft.setTextSize(2);
tft.println("OK");
}
void loop() {
}