From 8d6893c087e9485eda3a468937ae83f82406d3aa Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Thu, 9 Apr 2020 01:52:26 -0400 Subject: [PATCH] v1.0.1 ### New Releases v1.0.1 1. Add support to ***SAM DUE, Teensy (4.0, 3.x, LC), STM32.*** 2. AVR Mega can use dynamic parameters or not, depending on memory availability 3. Support 63 chars WPA2 WiFi password 4. Permit to input special chars such as ***%*** and ***#*** into data fields. --- README.md | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 76f52ca..d2a5dab 100644 --- a/README.md +++ b/README.md @@ -298,9 +298,8 @@ void loop() ## TO DO - 1. Same features for other boards using WiFiNINA WiFi shields such as STM32, Teensy, SAM DUE. - 2. Add MultiWiFi feature to enable reconnect to the best / available WiFi AP. - 3. Add MultiBlynk feature to enable reconnect to the best / available Blynk Server. + 1. Add MultiWiFi feature to enable reconnect to the best / available WiFi AP. + 2. Add MultiBlynk feature to enable reconnect to the best / available Blynk Server. ## DONE @@ -314,6 +313,7 @@ void loop() 7. Add configurable Static IP, GW, Subnet Mask IP Addresses. 8. Enable dynamic custom data 9. Add checksum for more reliable data +10. Same features for other boards using WiFiNINA WiFi shields such as STM32, Teensy, SAM DUE. ## Example Please take a look at examples, as well. @@ -428,11 +428,8 @@ uint16_t NUM_MENU_ITEMS = sizeof(myMenuItems) / sizeof(MenuItem); //MenuItemSiz #define USE_LOCAL_SERVER true #if USE_LOCAL_SERVER -//char auth[] = "****"; -//String BlynkServer = "account.duckdns.org"; - -char auth[] = "dpjQumZ-qT8MZnwAUd2F8ZM0DfEM_WCP"; //RFID Gas -String BlynkServer = "khoih.duckdns.org"; +char auth[] = "****"; +String BlynkServer = "account.duckdns.org"; //String BlynkServer = "192.168.2.112"; #else @@ -443,17 +440,11 @@ String BlynkServer = "blynk-cloud.com"; #define BLYNK_SERVER_HARDWARE_PORT 8080 // Your WiFi credentials. -//char ssid[] = "****"; -//char pass[] = "****"; - -char ssid[] = "HueNet1"; -char pass[] = "jenniqqs"; +char ssid[] = "****"; +char pass[] = "****"; #endif -// Your Megay <-> ESP8266 baud rate: -#define ESP8266_BAUD 115200 - void heartBeatPrint(void) { static int num = 1; @@ -514,6 +505,7 @@ void setup() #endif } +#if USE_BLYNK_WM void displayCredentials(void) { Serial.println("Your stored Credentials :"); @@ -523,11 +515,14 @@ void displayCredentials(void) Serial.println(String(myMenuItems[i].displayName) + " = " + myMenuItems[i].pdata); } } +#endif void loop() { Blynk.run(); + check_status(); +#if USE_BLYNK_WM static bool displayedCredentials = false; if (!displayedCredentials) @@ -546,8 +541,7 @@ void loop() } } } - - check_status(); +#endif } ``` ### New Releases v1.0.1