/***************************************************
This is our GFX example for the Adafruit ILI9341 TFT FeatherWing
----> http://www.adafruit.com/products/3315
Check out the links above for our tutorials and wiring diagrams
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries.
MIT license, all text above must be included in any redistribution
****************************************************/
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#define TFT_CS 53
#define TFT_DC 48
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
void setup() {
tft.begin();
tft.setRotation(0);
tft.fillScreen(ILI9341_BLACK);
// Draw clock face
tft.fillCircle(120, 120, 118, ILI9341_GREEN );
tft.fillCircle(120, 120, 110, ILI9341_BLACK);
}
void loop() {
tft.setCursor(0, 0);
tft.setTextColor(ILI9341_WHITE); tft.setTextSize(1);
tft.println("Hello World!");
}