From 54a71d832cf5903d22a1506a3e3574abfe0ee053 Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Thu, 19 Oct 2017 17:39:41 +0200 Subject: [PATCH] Update examples --- examples/softAP_UI_Test/softAP_UI_Test.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/softAP_UI_Test/softAP_UI_Test.ino b/examples/softAP_UI_Test/softAP_UI_Test.ino index 948b1ee..2753631 100644 --- a/examples/softAP_UI_Test/softAP_UI_Test.ino +++ b/examples/softAP_UI_Test/softAP_UI_Test.ino @@ -33,6 +33,7 @@ void setup(void) { EasyUI.label("Status: Stop"); EasyUI.label("0"); + EasyUI.button("Push Button", &buttonCallback); EasyUI.button("Push Button", &buttonExample); EasyUI.pad("center", true, &padExample); EasyUI.pad("NoCenter", false, &padExample); @@ -50,7 +51,7 @@ void loop(void) { } } -void callback1(int id, int type) { +void buttonCallback(int id, int type) { switch (type) { case B_DOWN: Serial.println("Button DOWN");