#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#define TFT_DC 9
#define TFT_RST 8
#define TFT_CS 10
//display
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);
#include <Fonts/FreeMono24pt7b.h>
int Variable1;
void setup()
{
tft.begin();
tft.fillScreen(0x0000);
tft.setTextWrap(false);
tft.setCursor(10, 15);
tft.setTextColor(0x0fFF);
tft.setTextSize(2.5);
tft.println("Color Blind Test");
tft.setFont(&FreeMono24pt7b);
tft.setTextSize(1);
tft.setCursor(35, 65);
tft.setTextColor(0xFF0F87);
tft.println("START!");
tft.setCursor(10, 96);
tft.setTextColor(0xF00F);
tft.setTextSize(0);
tft.setFont();
tft.setTextSize(2);
tft.println("GREEN YELLOW RED");
tft.setFont();
tft.fillCircle(35, 166, 30, 0x07E0);
tft.fillCircle(115, 166, 30, 0xFFE0);
tft.fillCircle(195, 166, 30, 0xF800);
tft.setCursor(10, 226);
tft.setTextColor(0xFFFF);
tft.setTextSize(2);
tft.println("IF YOU SEE ANOTHER");
tft.setCursor(80, 246);
tft.setTextColor(0xFFFF);
tft.setTextSize(2);
tft.println("COLOR");
tft.setCursor(40, 266);
tft.setTextColor(0xFFFF);
tft.setTextSize(2);
tft.println("YOU HAVE COLOR");
tft.setCursor(60, 286);
tft.setTextColor(0xFFFF);
tft.setTextSize(2);
tft.println("BLINDNESS");
tft.setCursor(70, 310);
tft.setTextColor(0xFFFF);
tft.setTextSize(1);
tft.println("THIRAWIT C.");
tft.setFont();
}
void loop()
{
}