Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Commit e8a8ab7

Browse files
authored
Major Releases v1.4.0
### Major Releases v1.4.0 1. Add **LittleFS and SPIFFS** support to new **ESP32-S2** boards (**Arduino ESP32C3_DEV**). Check [HOWTO Install esp32 core for ESP32-S2 (Saola, AI-Thinker ESP-12K) and ESP32-C3 boards into Arduino IDE](#howto-install-esp32-core-for-esp32-s2-saola-ai-thinker-esp-12k-and-esp32-c3-boards-into-arduino-ide). 2. Add **EEPROM and SPIFFS** support to new **ESP32-C3** boards (**Arduino ESP32C3_DEV**). Check [HOWTO Install esp32 core for ESP32-S2 (Saola, AI-Thinker ESP-12K) and ESP32-C3 boards into Arduino IDE](#howto-install-esp32-core-for-esp32-s2-saola-ai-thinker-esp-12k-and-esp32-c3-boards-into-arduino-ide). 3. Fix SSL issue with Blynk Cloud Server 4. Update examples
1 parent 6ed27c8 commit e8a8ab7

File tree

35 files changed

+438
-110
lines changed

35 files changed

+438
-110
lines changed

examples/Async_AM2315_ESP32_SSL/Async_AM2315_ESP32_SSL.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Based on and modified from Blynk library v0.6.1 (https://github.com/blynkkk/blynk-library/releases)
99
Built by Khoi Hoang (https://github.com/khoih-prog/Blynk_Async_WM)
1010
Licensed under MIT license
11-
Version: 1.3.0
11+
Version: 1.4.0
1212
1313
Version Modified By Date Comments
1414
------- ----------- ---------- -----------
@@ -20,6 +20,8 @@
2020
1.2.2 K Hoang 28/01/2021 Fix Config Portal and Dynamic Params bugs
2121
1.2.3 K Hoang 31/01/2021 To permit autoreset after timeout if DRD/MRD or non-persistent forced-CP
2222
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
23+
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
24+
Fix SSL issue with Blynk Cloud Server
2325
********************************************************************************************************************************/
2426

2527
#include "defines.h"

examples/Async_AM2315_ESP32_SSL/defines.h

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,33 @@
1010
Licensed under MIT license
1111
********************************************************************************************************************************/
1212

13+
/*
14+
// To add something similar to this for ESP32-C3
15+
#if CONFIG_IDF_TARGET_ESP32
16+
const int8_t esp32_adc2gpio[20] = {36, 37, 38, 39, 32, 33, 34, 35, -1, -1, 4, 0, 2, 15, 13, 12, 14, 27, 25, 26};
17+
#elif CONFIG_IDF_TARGET_ESP32S2
18+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
19+
#elif CONFIG_IDF_TARGET_ESP32C3
20+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
21+
#endif
22+
*/
23+
1324
#ifndef defines_h
1425
#define defines_h
1526

16-
#ifndef ESP32
27+
#if !( defined(ESP32) )
1728
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
29+
#elif ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_ESP32S2_THING_PLUS || ARDUINO_MICROS2 || \
30+
ARDUINO_METRO_ESP32S2 || ARDUINO_MAGTAG29_ESP32S2 || ARDUINO_FUNHOUSE_ESP32S2 || \
31+
ARDUINO_ADAFRUIT_FEATHER_ESP32S2_NOPSRAM )
32+
#define BOARD_TYPE "ESP32-S2"
33+
#elif ( ARDUINO_ESP32C3_DEV )
34+
// https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-gpio.c
35+
#warning ESP32-C3 boards not fully supported yet. Only SPIFFS and EEPROM OK. Tempo esp32_adc2gpio to be replaced. ESPAsyncWebServer library to be fixed
36+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
37+
#define BOARD_TYPE "ESP32-C3"
38+
#else
39+
#define BOARD_TYPE "ESP32"
1840
#endif
1941

2042
#define BLYNK_PRINT Serial
@@ -29,11 +51,10 @@
2951
// (USE_LITTLEFS == false) and (USE_SPIFFS == true) => using SPIFFS for configuration data in WiFiManager
3052
// Those above #define's must be placed before #include <BlynkSimpleEsp32_Async_WM.h>
3153

32-
#if ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_PROS2 || ARDUINO_MICROS2 )
33-
// Currently, ESP32-S2 only supporting EEPROM. Will fix to support LittleFS and SPIFFS
54+
#if ( ARDUINO_ESP32C3_DEV )
55+
// Currently, ESP32-C3 only supporting SPIFFS and EEPROM. Will fix to support LittleFS
3456
#define USE_LITTLEFS false
35-
#define USE_SPIFFS false
36-
#warning ESP32-S2 only support supporting EEPROM now.
57+
#define USE_SPIFFS true
3758
#else
3859
#define USE_LITTLEFS true
3960
#define USE_SPIFFS false

examples/Async_AM2315_ESP8266/Async_AM2315_ESP8266.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Based on and modified from Blynk library v0.6.1 (https://github.com/blynkkk/blynk-library/releases)
99
Built by Khoi Hoang (https://github.com/khoih-prog/Blynk_Async_WM)
1010
Licensed under MIT license
11-
Version: 1.3.0
11+
Version: 1.4.0
1212
1313
Version Modified By Date Comments
1414
------- ----------- ---------- -----------
@@ -20,6 +20,8 @@
2020
1.2.2 K Hoang 28/01/2021 Fix Config Portal and Dynamic Params bugs
2121
1.2.3 K Hoang 31/01/2021 To permit autoreset after timeout if DRD/MRD or non-persistent forced-CP
2222
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
23+
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
24+
Fix SSL issue with Blynk Cloud Server
2325
********************************************************************************************************************************/
2426

2527
#include "defines.h"

examples/Async_Blynk_WM_Template/Async_Blynk_WM_Template.ino

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Based on and modified from Blynk library v0.6.1 (https://github.com/blynkkk/blynk-library/releases)
1111
Built by Khoi Hoang (https://github.com/khoih-prog/Blynk_Async_WM)
1212
Licensed under MIT license
13-
Version: 1.3.0
13+
Version: 1.4.0
1414
1515
Version Modified By Date Comments
1616
------- ----------- ---------- -----------
@@ -22,6 +22,8 @@
2222
1.2.2 K Hoang 28/01/2021 Fix Config Portal and Dynamic Params bugs
2323
1.2.3 K Hoang 31/01/2021 To permit autoreset after timeout if DRD/MRD or non-persistent forced-CP
2424
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
25+
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
26+
Fix SSL issue with Blynk Cloud Server
2527
********************************************************************************************************************************/
2628

2729
// Sketch uses Arduino IDE-selected ESP32 and ESP8266 to select compile choices
@@ -74,6 +76,32 @@
7476
* the BlynkSimpleEsp... and ...WiFiManager libraries, the ESP32 and ESP8266.
7577
*/
7678

79+
/*
80+
// To add something similar to this for ESP32-C3
81+
#if CONFIG_IDF_TARGET_ESP32
82+
const int8_t esp32_adc2gpio[20] = {36, 37, 38, 39, 32, 33, 34, 35, -1, -1, 4, 0, 2, 15, 13, 12, 14, 27, 25, 26};
83+
#elif CONFIG_IDF_TARGET_ESP32S2
84+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
85+
#elif CONFIG_IDF_TARGET_ESP32C3
86+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
87+
#endif
88+
*/
89+
90+
#if !( defined(ESP32) || defined(ESP8266) )
91+
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
92+
#elif ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_ESP32S2_THING_PLUS || ARDUINO_MICROS2 || \
93+
ARDUINO_METRO_ESP32S2 || ARDUINO_MAGTAG29_ESP32S2 || ARDUINO_FUNHOUSE_ESP32S2 || \
94+
ARDUINO_ADAFRUIT_FEATHER_ESP32S2_NOPSRAM )
95+
#define BOARD_TYPE "ESP32-S2"
96+
#elif ( ARDUINO_ESP32C3_DEV )
97+
// https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-gpio.c
98+
#warning ESP32-C3 boards not fully supported yet. Only SPIFFS and EEPROM OK. Tempo esp32_adc2gpio to be replaced. ESPAsyncWebServer library to be fixed
99+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
100+
#define BOARD_TYPE "ESP32-C3"
101+
#else
102+
#define BOARD_TYPE "ESP32"
103+
#endif
104+
77105
#define SERIAL_SPEED 230400
78106
#define SKETCH_NAME "Async_Blynk_WM_Template"
79107

@@ -164,11 +192,10 @@
164192
// (USE_LITTLEFS == false) and (USE_SPIFFS == true) => using SPIFFS for configuration data in WiFiManager
165193
// Those above #define's must be placed before #include <BlynkSimpleEsp32_Async_WM.h>
166194

167-
#if ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_PROS2 || ARDUINO_MICROS2 )
168-
// Currently, ESP32-S2 only supporting EEPROM. Will fix to support LittleFS and SPIFFS
195+
#if ( ARDUINO_ESP32C3_DEV )
196+
// Currently, ESP32-C3 only supporting SPIFFS and EEPROM. Will fix to support LittleFS
169197
#define USE_LITTLEFS false
170-
#define USE_SPIFFS false
171-
#warning ESP32-S2 only support supporting EEPROM now.
198+
#define USE_SPIFFS true
172199
#else
173200
#define USE_LITTLEFS true
174201
#define USE_SPIFFS false

examples/Async_DHT11ESP32/Async_DHT11ESP32.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Based on and modified from Blynk library v0.6.1 (https://github.com/blynkkk/blynk-library/releases)
99
Built by Khoi Hoang (https://github.com/khoih-prog/Blynk_Async_WM)
1010
Licensed under MIT license
11-
Version: 1.3.0
11+
Version: 1.4.0
1212
1313
Version Modified By Date Comments
1414
------- ----------- ---------- -----------
@@ -20,12 +20,14 @@
2020
1.2.2 K Hoang 28/01/2021 Fix Config Portal and Dynamic Params bugs
2121
1.2.3 K Hoang 31/01/2021 To permit autoreset after timeout if DRD/MRD or non-persistent forced-CP
2222
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
23+
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
24+
Fix SSL issue with Blynk Cloud Server
2325
********************************************************************************************************************************/
2426

2527
#include "defines.h"
2628

2729
#include <Ticker.h>
28-
#include <DHT.h>
30+
#include <DHT.h> // https://github.com/adafruit/DHT-sensor-library
2931

3032
DHT dht(DHT_PIN, DHT_TYPE);
3133
BlynkTimer timer;

examples/Async_DHT11ESP32/defines.h

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,33 @@
1010
Licensed under MIT license
1111
********************************************************************************************************************************/
1212

13+
/*
14+
// To add something similar to this for ESP32-C3
15+
#if CONFIG_IDF_TARGET_ESP32
16+
const int8_t esp32_adc2gpio[20] = {36, 37, 38, 39, 32, 33, 34, 35, -1, -1, 4, 0, 2, 15, 13, 12, 14, 27, 25, 26};
17+
#elif CONFIG_IDF_TARGET_ESP32S2
18+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
19+
#elif CONFIG_IDF_TARGET_ESP32C3
20+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
21+
#endif
22+
*/
23+
1324
#ifndef defines_h
1425
#define defines_h
1526

16-
#ifndef ESP32
27+
#if !( defined(ESP32) )
1728
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
29+
#elif ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_ESP32S2_THING_PLUS || ARDUINO_MICROS2 || \
30+
ARDUINO_METRO_ESP32S2 || ARDUINO_MAGTAG29_ESP32S2 || ARDUINO_FUNHOUSE_ESP32S2 || \
31+
ARDUINO_ADAFRUIT_FEATHER_ESP32S2_NOPSRAM )
32+
#define BOARD_TYPE "ESP32-S2"
33+
#elif ( ARDUINO_ESP32C3_DEV )
34+
// https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-gpio.c
35+
#warning ESP32-C3 boards not fully supported yet. Only SPIFFS and EEPROM OK. Tempo esp32_adc2gpio to be replaced. ESPAsyncWebServer library to be fixed
36+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
37+
#define BOARD_TYPE "ESP32-C3"
38+
#else
39+
#define BOARD_TYPE "ESP32"
1840
#endif
1941

2042
#define BLYNK_PRINT Serial
@@ -29,11 +51,10 @@
2951
// (USE_LITTLEFS == false) and (USE_SPIFFS == true) => using SPIFFS for configuration data in WiFiManager
3052
// Those above #define's must be placed before #include <BlynkSimpleEsp32_Async_WM.h>
3153

32-
#if ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_PROS2 || ARDUINO_MICROS2 )
33-
// Currently, ESP32-S2 only supporting EEPROM. Will fix to support LittleFS and SPIFFS
54+
#if ( ARDUINO_ESP32C3_DEV )
55+
// Currently, ESP32-C3 only supporting SPIFFS and EEPROM. Will fix to support LittleFS
3456
#define USE_LITTLEFS false
35-
#define USE_SPIFFS false
36-
#warning ESP32-S2 only support supporting EEPROM now.
57+
#define USE_SPIFFS true
3758
#else
3859
#define USE_LITTLEFS true
3960
#define USE_SPIFFS false

examples/Async_DHT11ESP32_SSL/Async_DHT11ESP32_SSL.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Based on and modified from Blynk library v0.6.1 (https://github.com/blynkkk/blynk-library/releases)
99
Built by Khoi Hoang (https://github.com/khoih-prog/Blynk_Async_WM)
1010
Licensed under MIT license
11-
Version: 1.3.0
11+
Version: 1.4.0
1212
1313
Version Modified By Date Comments
1414
------- ----------- ---------- -----------
@@ -20,12 +20,14 @@
2020
1.2.2 K Hoang 28/01/2021 Fix Config Portal and Dynamic Params bugs
2121
1.2.3 K Hoang 31/01/2021 To permit autoreset after timeout if DRD/MRD or non-persistent forced-CP
2222
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
23+
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
24+
Fix SSL issue with Blynk Cloud Server
2325
********************************************************************************************************************************/
2426

2527
#include "defines.h"
2628

2729
#include <Ticker.h>
28-
#include <DHT.h>
30+
#include <DHT.h> // https://github.com/adafruit/DHT-sensor-library
2931

3032
DHT dht(DHT_PIN, DHT_TYPE);
3133
BlynkTimer timer;

examples/Async_DHT11ESP32_SSL/defines.h

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,33 @@
1010
Licensed under MIT license
1111
********************************************************************************************************************************/
1212

13+
/*
14+
// To add something similar to this for ESP32-C3
15+
#if CONFIG_IDF_TARGET_ESP32
16+
const int8_t esp32_adc2gpio[20] = {36, 37, 38, 39, 32, 33, 34, 35, -1, -1, 4, 0, 2, 15, 13, 12, 14, 27, 25, 26};
17+
#elif CONFIG_IDF_TARGET_ESP32S2
18+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
19+
#elif CONFIG_IDF_TARGET_ESP32C3
20+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
21+
#endif
22+
*/
23+
1324
#ifndef defines_h
1425
#define defines_h
1526

16-
#ifndef ESP32
27+
#if !( defined(ESP32) )
1728
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
29+
#elif ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_ESP32S2_THING_PLUS || ARDUINO_MICROS2 || \
30+
ARDUINO_METRO_ESP32S2 || ARDUINO_MAGTAG29_ESP32S2 || ARDUINO_FUNHOUSE_ESP32S2 || \
31+
ARDUINO_ADAFRUIT_FEATHER_ESP32S2_NOPSRAM )
32+
#define BOARD_TYPE "ESP32-S2"
33+
#elif ( ARDUINO_ESP32C3_DEV )
34+
// https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-gpio.c
35+
#warning ESP32-C3 boards not fully supported yet. Only SPIFFS and EEPROM OK. Tempo esp32_adc2gpio to be replaced. ESPAsyncWebServer library to be fixed
36+
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
37+
#define BOARD_TYPE "ESP32-C3"
38+
#else
39+
#define BOARD_TYPE "ESP32"
1840
#endif
1941

2042
#define BLYNK_PRINT Serial
@@ -29,11 +51,10 @@
2951
// (USE_LITTLEFS == false) and (USE_SPIFFS == true) => using SPIFFS for configuration data in WiFiManager
3052
// Those above #define's must be placed before #include <BlynkSimpleEsp32_Async_WM.h>
3153

32-
#if ( ARDUINO_ESP32S2_DEV || ARDUINO_FEATHERS2 || ARDUINO_PROS2 || ARDUINO_MICROS2 )
33-
// Currently, ESP32-S2 only supporting EEPROM. Will fix to support LittleFS and SPIFFS
54+
#if ( ARDUINO_ESP32C3_DEV )
55+
// Currently, ESP32-C3 only supporting SPIFFS and EEPROM. Will fix to support LittleFS
3456
#define USE_LITTLEFS false
35-
#define USE_SPIFFS false
36-
#warning ESP32-S2 only support supporting EEPROM now.
57+
#define USE_SPIFFS true
3758
#else
3859
#define USE_LITTLEFS true
3960
#define USE_SPIFFS false

examples/Async_DHT11ESP8266/Async_DHT11ESP8266.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Based on and modified from Blynk library v0.6.1 (https://github.com/blynkkk/blynk-library/releases)
99
Built by Khoi Hoang (https://github.com/khoih-prog/Blynk_Async_WM)
1010
Licensed under MIT license
11-
Version: 1.3.0
11+
Version: 1.4.0
1212
1313
Version Modified By Date Comments
1414
------- ----------- ---------- -----------
@@ -20,12 +20,14 @@
2020
1.2.2 K Hoang 28/01/2021 Fix Config Portal and Dynamic Params bugs
2121
1.2.3 K Hoang 31/01/2021 To permit autoreset after timeout if DRD/MRD or non-persistent forced-CP
2222
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
23+
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
24+
Fix SSL issue with Blynk Cloud Server
2325
********************************************************************************************************************************/
2426

2527
#include "defines.h"
2628

2729
#include <Ticker.h>
28-
#include <DHT.h>
30+
#include <DHT.h> // https://github.com/adafruit/DHT-sensor-library
2931

3032
DHT dht(DHT_PIN, DHT_TYPE);
3133
BlynkTimer timer;

examples/Async_DHT11ESP8266_Debug/Async_DHT11ESP8266_Debug.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Based on and modified from Blynk library v0.6.1 (https://github.com/blynkkk/blynk-library/releases)
99
Built by Khoi Hoang (https://github.com/khoih-prog/Blynk_Async_WM)
1010
Licensed under MIT license
11-
Version: 1.3.0
11+
Version: 1.4.0
1212
1313
Version Modified By Date Comments
1414
------- ----------- ---------- -----------
@@ -20,11 +20,13 @@
2020
1.2.2 K Hoang 28/01/2021 Fix Config Portal and Dynamic Params bugs
2121
1.2.3 K Hoang 31/01/2021 To permit autoreset after timeout if DRD/MRD or non-persistent forced-CP
2222
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
23+
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
24+
Fix SSL issue with Blynk Cloud Server
2325
********************************************************************************************************************************/
2426
#include "defines.h"
2527

2628
#include <Ticker.h>
27-
#include <DHT.h>
29+
#include <DHT.h> // https://github.com/adafruit/DHT-sensor-library
2830

2931
DHT dht(DHT_PIN, DHT_TYPE);
3032
BlynkTimer timer;

examples/Async_DHT11ESP8266_SSL/Async_DHT11ESP8266_SSL.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Based on and modified from Blynk library v0.6.1 (https://github.com/blynkkk/blynk-library/releases)
99
Built by Khoi Hoang (https://github.com/khoih-prog/Blynk_Async_WM)
1010
Licensed under MIT license
11-
Version: 1.3.0
11+
Version: 1.4.0
1212
1313
Version Modified By Date Comments
1414
------- ----------- ---------- -----------
@@ -20,12 +20,14 @@
2020
1.2.2 K Hoang 28/01/2021 Fix Config Portal and Dynamic Params bugs
2121
1.2.3 K Hoang 31/01/2021 To permit autoreset after timeout if DRD/MRD or non-persistent forced-CP
2222
1.3.0 K Hoang 24/02/2021 Add customs HTML header feature and support to ESP32-S2.
23+
1.4.0 K Hoang 19/04/2021 Add LittleFS and SPIFFS support to ESP32-S2. Add support to ESP32-C3 without LittleFS
24+
Fix SSL issue with Blynk Cloud Server
2325
********************************************************************************************************************************/
2426

2527
#include "defines.h"
2628

2729
#include <Ticker.h>
28-
#include <DHT.h>
30+
#include <DHT.h> // https://github.com/adafruit/DHT-sensor-library
2931

3032
DHT dht(DHT_PIN, DHT_TYPE);
3133
BlynkTimer timer;

0 commit comments

Comments
 (0)