Merge pull request #211 from fdlamotte/techo-display

Techo display
This commit is contained in:
ripplebiz 2025-04-21 16:44:52 +10:00 committed by GitHub
commit a81e8b4b54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 176 additions and 4 deletions

View file

@ -99,7 +99,7 @@ void UITask::renderCurrScreen() {
_display->setColor(DisplayDriver::LIGHT);
_display->print(_msg);
_display->setCursor(100, 9);
_display->setCursor(_display->width() - 28, 9);
_display->setTextSize(2);
_display->setColor(DisplayDriver::ORANGE);
sprintf(tmp, "%d", _msgcount);

View file

@ -61,6 +61,8 @@
#include "UITask.h"
#ifdef ST7789
#include <helpers/ui/ST7789Display.h>
#elif defined(HAS_GxEPD)
#include <helpers/ui/GxEPDDisplay.h>
#else
#include <helpers/ui/SSD1306Display.h>
#endif