From 02d3c72cbb6e6ce7fb53822b911cc9323cfd49af Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Mon, 12 Aug 2019 16:44:27 +0700 Subject: [PATCH] Changing Char --- WaterishOS-core2.0/WaterishOS-core2.0.ino | 2 +- WaterishOS-core2.0/config.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WaterishOS-core2.0/WaterishOS-core2.0.ino b/WaterishOS-core2.0/WaterishOS-core2.0.ino index 8198c42..7e76a05 100644 --- a/WaterishOS-core2.0/WaterishOS-core2.0.ino +++ b/WaterishOS-core2.0/WaterishOS-core2.0.ino @@ -85,7 +85,7 @@ void setup() { writelcd("WiFi Connecting"," Attempt "+String(connectionattempt)); connectionattempt++; delay(500); - if (connectionattempt >= 20) { + if (connectionattempt >= 60) { writelcd(" Cannot Connect"," Going Offline!"); delay(3000); online = false; diff --git a/WaterishOS-core2.0/config.h b/WaterishOS-core2.0/config.h index 4e23a85..95e8e8f 100644 --- a/WaterishOS-core2.0/config.h +++ b/WaterishOS-core2.0/config.h @@ -1,5 +1,5 @@ -const String ssid = ""; -const String password = ""; +const char ssid[] = ""; +const char password[] = ""; const byte InteruptPinA=1; const byte InteruptPinB=3; const byte arduinoInterrupt=1;