From a960d086e12d10f265310a897558408e36149009 Mon Sep 17 00:00:00 2001 From: Phat Nguyen Date: Sun, 24 Mar 2024 08:51:39 +0700 Subject: [PATCH] Update instruction comment and clean code. --- examples/ONE/ONE.ino | 4 ++-- examples/Open_Air/Open_Air.ino | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ONE/ONE.ino b/examples/ONE/ONE.ino index 34d4d13..af49d10 100644 --- a/examples/ONE/ONE.ino +++ b/examples/ONE/ONE.ino @@ -25,7 +25,7 @@ Important flashing settings: - Flash frequency "80Mhz" - Flash mode "QIO" - Flash size "4MB" -- Partition scheme "Default 4MB with spiffs (1.2MB APP/1,5MB SPIFFS)" +- Partition scheme "Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)" - JTAG adapter "Disabled" Configuration parameters, e.g. Celsius / Fahrenheit or PM unit (US AQI vs ug/m3) @@ -804,7 +804,7 @@ void setup() { /** * Send first data to ping server and get server configuration */ - if (WiFi.status() == WL_CONNECTED) { + if (WiFi.isConnected()) { webServerInit(); /** MQTT init */ diff --git a/examples/Open_Air/Open_Air.ino b/examples/Open_Air/Open_Air.ino index 33d6b26..d6a03fe 100644 --- a/examples/Open_Air/Open_Air.ino +++ b/examples/Open_Air/Open_Air.ino @@ -25,7 +25,7 @@ Important flashing settings: - Flash frequency "80Mhz" - Flash mode "QIO" - Flash size "4MB" -- Partition scheme "Default 4MB with spiffs (1.2MB APP/1,5MB SPIFFS)" +- Partition scheme "Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)" - JTAG adapter "Disabled" If you have any questions please visit our forum at