1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-06-11 18:00:38 +00:00

More ducumentation

This commit is contained in:
2019-12-29 14:35:54 +01:00
parent 2b4141fed3
commit 71576d7686
9 changed files with 67 additions and 38 deletions

View File

@ -18,7 +18,6 @@ const char* hostname = "espui";
uint16_t button1;
uint16_t switchOne;
uint16_t status;
uint16_t millisLabelId;
void numberCall( Control* sender, int type ) {
Serial.println( sender->value );
@ -255,7 +254,6 @@ void loop( void ) {
static bool switchi = false;
if ( millis() - oldTime > 5000 ) {
ESPUI.updateControlValue( millisLabelId, String( millis() ) );
switchi = !switchi;
ESPUI.updateControlValue( switchOne, switchi ? "1" : "0" );