mirror of
https://github.com/s00500/ESPUI.git
synced 2025-06-14 07:40:40 +00:00
Adding basic structure for new widgets
This commit is contained in:
@ -244,7 +244,7 @@ void loop(void) {
|
||||
static bool testSwitchState = false;
|
||||
|
||||
if (millis() - oldTime > 5000) {
|
||||
ESPUI.updateControl("Millis:", String(millis()));
|
||||
ESPUI.updateControlValue(millisLabelId, String(millis()));
|
||||
testSwitchState = !testSwitchState;
|
||||
ESPUI.updateControlValue("Switch one", testSwitchState ? "1" : "0");
|
||||
oldTime = millis();
|
||||
|
Reference in New Issue
Block a user