#include <Adafruit_GFX.h> // include Adafruit graphics library
#include <Adafruit_ILI9341.h>// include Adafruit ILI9341 TFT library
#define TFT_CS 10// TFT CS pin is connected to arduino pin 8
#define TFT_RST 8// TFT RST pin is connected to arduino pin 9
#define TFT_DC 9// TFT DC pin is connected to arduino pin 10
// initialize ILI9341 TFT library
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);
void setup() {
//Serial.begin(9600);
//Serial.println("ILI9341 Test!");
tft.begin();
tft.setRotation(0);
tft.setCursor(01, 01);
tft.setTextColor(ILI9341_RED);
tft.setTextSize(3);
tft.println("Hello, TFT!");
tft.setRotation(0);
tft.setCursor(00, 150);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(2);
tft.println("I can has colors?");
}
void loop() {
}