tft.init(); tft.fillScreen(TFT_BLACK); // Set "cursor" at top left corner of display (0,0) and select font 4 tft.setCursor(0, 0, 4);
// Set the font colour to be white with a black background tft.setTextColor(TFT_WHITE, TFT_BLACK);
// We can now plot text on screen using the "print" class tft.println("Initialised default\n"); tft.println("White text"); tft.setTextColor(TFT_RED, TFT_BLACK); tft.println("Red text"); tft.setTextColor(TFT_GREEN, TFT_BLACK); tft.println("Green text"); tft.setTextColor(TFT_BLUE, TFT_BLACK); tft.println("Blue text");