* basic UITask added to repeater and room server (only HeltecV3 targets enable so far)

This commit is contained in:
Scott Powell 2025-03-05 12:52:29 +11:00
parent 372c228210
commit c2ae34314e
7 changed files with 242 additions and 2 deletions

View file

@ -0,0 +1,18 @@
#pragma once
#include <helpers/ui/DisplayDriver.h>
class UITask {
DisplayDriver* _display;
unsigned long _next_read, _next_refresh, _auto_off;
int _prevBtnState;
const char* _node_name;
const char* _build_date;
void renderCurrScreen();
public:
UITask(DisplayDriver& display) : _display(&display) { _next_read = _next_refresh = 0; }
void begin(const char* node_name, const char* build_date);
void loop();
};