Update TFT_Clock_Digital.ino

Fix #795
This commit is contained in:
Bodmer
2020-10-21 16:16:06 +01:00
committed by GitHub
parent 0d31c9f1a5
commit aaf96fa870

View File

@@ -99,7 +99,7 @@ void loop() {
// Font 7 is to show a pseudo 7 segment display.
// Font 7 only contains characters [space] 0 1 2 3 4 5 6 7 8 9 0 : .
tft.drawString("88:88",xpos,ypos,7); // Overwrite the text to clear it
tft.setTextColor(0xFBE0, TFT_BLACK); // Orange
tft.setTextColor(0xFBE0); // Orange
omm = mm;
if (hh<10) xpos+= tft.drawChar('0',xpos,ypos,7);