From 86132fe38d3d7b2cab00ff3f192e65bd9ccd0272 Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Tue, 14 Nov 2017 12:13:05 +0100 Subject: [PATCH] update example --- examples/gui/gui.ino | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/examples/gui/gui.ino b/examples/gui/gui.ino index 8a34296..d234845 100644 --- a/examples/gui/gui.ino +++ b/examples/gui/gui.ino @@ -39,16 +39,8 @@ void setup(void) { ESPUI.pad("Pad with center", true, &padExample, COLOR_SUNFLOWER); ESPUI.pad("Pad without center", false, &padExample, COLOR_CARROT); 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"); }