You've already forked TEF6686_ESP32
Lots of minor changes
This commit is contained in:
4266
include/language.h
4266
include/language.h
File diff suppressed because it is too large
Load Diff
@@ -9,9 +9,9 @@ public:
|
||||
tft->setTextColor(TFT_WHITE, background);
|
||||
tft->setTextDatum(TL_DATUM);
|
||||
auto data = "[" + String(millis() / 1000.0f) + "] " + text;
|
||||
tft->fillRect(0, y, tft->textWidth(data), tft->fontHeight(0), background);
|
||||
tft->drawString(data, 0, y, 0);
|
||||
y += tft->fontHeight(0);
|
||||
tft->fillRect(0, y, tft->textWidth(data), tft->fontHeight(2), background);
|
||||
tft->drawString(data, 0, y, 2);
|
||||
y += tft->fontHeight(2);
|
||||
}
|
||||
void reset() {
|
||||
y = 0;
|
||||
|
||||
Reference in New Issue
Block a user