#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"
#define TFT_DC 21
#define TFT_CS 22
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
void setup() {
tft.begin();
tft.setRotation(1); //rotate screen
tft.setCursor(0, 20); //(x,y)
// tft.setTextColor(ILI9341_PINK);
uint16_t color = 0x435c; //16-bit hex color: b6f6 lime greeen, f793 (off-white)
tft.setTextColor(color);
tft.setTextSize(2);
for (int i = 0; i<=255; i++) {
tft.print((char)i);
}
}
// http://greekgeeks.net/#maker-tools_convertColor (rgb->16bit hex)
void loop() {}