You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Using T-Wristband-LSM9DS1.ino for line numbers ...)
In RTC_Show function:
1/
line 690 = tft.setTextColor(0xFBE0, TFT_BLACK); // Orange
but by setting background color the 'ghost' image is overwritten. So the line should be tft.setTextColor(0xFBE0); // Orange
2/
line 704, setting the color for drawing the colon is in the wrong block, causing the colon to be displayed in the wrong color if the voltage has changed within the current minute.
currently = if (ss % 2) { // Flash the colon tft.setTextColor(0x39C4, TFT_BLACK); xpos += tft.drawChar(':', xcolon, ypos, 7); tft.setTextColor(0xFBE0, TFT_BLACK); } else { tft.drawChar(':', xcolon, ypos, 7); }
should be if (ss % 2) { // Flash the colon tft.setTextColor(0x39C4, TFT_BLACK); xpos += tft.drawChar(':', xcolon, ypos, 7); } else { tft.setTextColor(0xFBE0, TFT_BLACK); tft.drawChar(':', xcolon, ypos, 7); }
The text was updated successfully, but these errors were encountered:
(Using T-Wristband-LSM9DS1.ino for line numbers ...)
In RTC_Show function:
1/
line 690 =
tft.setTextColor(0xFBE0, TFT_BLACK); // Orange
but by setting background color the 'ghost' image is overwritten. So the line should be
tft.setTextColor(0xFBE0); // Orange
2/
line 704, setting the color for drawing the colon is in the wrong block, causing the colon to be displayed in the wrong color if the voltage has changed within the current minute.
currently =
if (ss % 2) { // Flash the colon
tft.setTextColor(0x39C4, TFT_BLACK);
xpos += tft.drawChar(':', xcolon, ypos, 7);
tft.setTextColor(0xFBE0, TFT_BLACK);
} else {
tft.drawChar(':', xcolon, ypos, 7);
}
should be
if (ss % 2) { // Flash the colon
tft.setTextColor(0x39C4, TFT_BLACK);
xpos += tft.drawChar(':', xcolon, ypos, 7);
} else {
tft.setTextColor(0xFBE0, TFT_BLACK);
tft.drawChar(':', xcolon, ypos, 7);
}
The text was updated successfully, but these errors were encountered: