From 4742cab08b856e5898edaa846ed0d425aea36d96 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Wed, 10 Jul 2019 17:37:11 +0900 Subject: [PATCH] Supports AutoConnectTicker --- examples/Elements/Elements.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/Elements/Elements.ino b/examples/Elements/Elements.ino index 55188b4..d421ee6 100644 --- a/examples/Elements/Elements.ino +++ b/examples/Elements/Elements.ino @@ -130,6 +130,7 @@ static const char PAGE_SAVE[] PROGMEM = R"( WebServerClass server; AutoConnect portal(server); +AutoConnectConfig config; AutoConnectAux elementsAux; AutoConnectAux saveAux; @@ -198,6 +199,8 @@ void setup() { }); portal.join({ elementsAux, saveAux }); + config.ticker = true; + portal.config(config); portal.begin(); }