Compare commits

..

2 commits

Author SHA1 Message Date
28b9329b9f rename main.ino to code.ino 2025-08-27 16:39:29 +02:00
7a7d618263 fix showCurrentValue 2025-08-27 16:37:17 +02:00

View file

@ -148,7 +148,7 @@ class showCurrentValue : public Element {
tft.setTextSize(5); tft.setTextSize(5);
tft.setTextColor(PRIMARY_FOREGROUND_COLOUR); tft.setTextColor(PRIMARY_FOREGROUND_COLOUR);
tft.setCursor(this->X + 1, this->Y + 1); tft.setCursor(this->X + 1, this->Y + 1);
tft.print(this->data.getMaxDataPoint(), 1); tft.print(this->data.getDataByIndex(0), 1);
tft.print(this->data.getUnit()); tft.print(this->data.getUnit());
}; };
}; };