1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-25 14:10:54 +00:00

update example

This commit is contained in:
Lukas Bachschwell 2017-11-14 12:13:05 +01:00
parent 6da6c3841b
commit 86132fe38d

View File

@ -39,16 +39,8 @@ void setup(void) {
ESPUI.pad("Pad with center", true, &padExample, COLOR_SUNFLOWER); ESPUI.pad("Pad with center", true, &padExample, COLOR_SUNFLOWER);
ESPUI.pad("Pad without center", false, &padExample, COLOR_CARROT); ESPUI.pad("Pad without center", false, &padExample, COLOR_CARROT);
ESPUI.switcher("Switch one", false, &switchExample, COLOR_ALIZARIN); ESPUI.switcher("Switch one", false, &switchExample, COLOR_ALIZARIN);
ESPUI.switcher("Switch two", true, &otherSwitchExample, COLOR_TURQUOISE); ESPUI.switcher("Switch two", true, &otherSwitchExample, COLOR_NONE);
#define COLOR_TURQUOISE 0
#define COLOR_EMERALD 1
#define COLOR_PETERRIVER 2
#define COLOR_WETASPHALT 3
#define COLOR_SUNFLOWER 4
#define COLOR_CARROT 5
#define COLOR_ALIZARIN 6
ESPUI.begin("ESP32 Control"); ESPUI.begin("ESP32 Control");
} }