///< FILENAME: Voltmeter.ino
///< CONFIG: Must be configured for proper platform
///< CONFIG: Config 0=IDE MODE, Config 1=WOKII MODE
#define CONFIG 2
#if CONFIG == 0
#define CONFIG_TEXT "IDE"
#elif CONFIG == 1
#define CONFIG_TEXT "WOKII"
#elif CONFIG == 2
#define CONFIG_TEXT "TFT_eSPI"
#endif
///< INCLUDE: This includes all variables, defintions, libraries & drivers required
///< INCLUDE:
#include "include.h"
void setup() {
tft.begin();
tft.fillScreen(bkgcolor);
#if CONFIG == 0
tft.setRotation(2);
#else
tft.setRotation(0);
#endif
}
void loop() {
tft.fillScreen(bkgcolor);
tft.setCursor(50,50);
tft.setTextColor(WHITE);
tft.setFont(&TEMPESTFONT14); //
tft.setTextSize(1);
tft.println("K0RU°");
delay(1000);
tft.setCursor(50,100);
tft.setTextColor(BLUE);
tft.setTextSize(2);
tft.println("K0RU°");
delay(1000);
tft.setCursor(50,150);
tft.setTextColor(RED);
tft.setTextSize(3);
tft.println("K0RU°");
delay(1000);
}