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

Increase timeout for connecting existing network and add continuous slider mode #60

This commit is contained in:
2019-12-28 14:54:41 +01:00
parent 681a00b3ed
commit 9764db9789
6 changed files with 54 additions and 36 deletions

View File

@ -13,6 +13,7 @@ DNSServer dnsServer;
const char *ssid = "ESPUI";
const char *password = "espui";
const char *hostname = "EspuiTest";
long oldTime = 0;
@ -160,9 +161,9 @@ void setup(void) {
Serial.print("\n\nTry to connect to existing network");
{
uint8_t timeout = 5;
uint8_t timeout = 10;
// Wait for connection, 2.5s timeout
// Wait for connection, 5s timeout
do {
delay(500);
Serial.print(".");