Added text helper functions (enlarge, bg color, etc.)

This commit is contained in:
KTOWN
2013-10-14 21:11:00 +02:00
parent ae0b2d2b61
commit 07abc76eed
3 changed files with 37 additions and 2 deletions
+11 -2
View File
@@ -27,9 +27,18 @@ void setup()
tft.fillScreen(RA8875_BLACK);
tft.textMode();
// tft.textEnlarge(0);
// tft.textColor(RA8875_WHITE, RA8875_RED);
tft.textTransparent(RA8875_WHITE);
uint8_t string[14] = "Hello, World!";
tft.textWrite(string, 14);
uint8_t string[15] = "Hello, World! ";
tft.textWrite(string, 15);
tft.textWrite(string, 15);
tft.textWrite(string, 15);
tft.textWrite(string, 15);
tft.textWrite(string, 15);
tft.textWrite(string, 15);
tft.textWrite(string, 15);
tft.textWrite(string, 15);
}
void loop()