You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
1. Update to use the new LittleFS for ESP8266 core 2.7.1+
@@ -17,56 +20,55 @@
17
20
2. Fix bug in example.
18
21
3. Enhance README.md
19
22
20
-
This library is based on, modified, bug-fixed and improved from [`DataCute`](https://github.com/datacute/DoubleResetDetector) to add support for ESP32.
23
+
---
24
+
25
+
This library is based on, modified, bug-fixed and improved from [`Stephen Denne's DoubleResetDetector`](https://github.com/datacute/DoubleResetDetector) to add support for ESP32 and ESP8266 using EEPROM, LittleFS or SPIFFS besides RTC memory.
21
26
22
-
Using this library to detect a double reset, using
27
+
Using this library to detect a double reset, using:
23
28
24
29
1. RTC Memory, EEPROM, LittleFS or SPIFFS for ESP8266
25
30
2. EEPROM and SPIFFS for ESP32.
26
31
32
+
---
33
+
---
34
+
27
35
## Prerequisite
28
-
1.[`Arduino IDE 1.8.12 or later` for Arduino](https://www.arduino.cc/en/Main/Software)
29
-
2.[`ESP32 core 1.0.4 or later`](https://github.com/espressif/arduino-esp32/releases) for ESP32 (Use Arduino Board Manager)
30
-
3.[`ESP8266 core 2.7.1 or later`](https://github.com/esp8266/Arduino/releases) for ES82662 (Use Arduino Board Manager) to use LittleFS or SPIFFS. SPIFFS is deprecated from ESP8266 core 2.7.1.
31
36
32
-
### Quick Start
37
+
1.[`Arduino IDE 1.8.12+` for Arduino](https://www.arduino.cc/en/Main/Software)
38
+
2.[`ESP32 core 1.0.4+`](https://github.com/espressif/arduino-esp32/releases) for ESP32 (Use Arduino Board Manager)
39
+
3.[`ESP8266 core 2.7.3+`](https://github.com/esp8266/Arduino/releases) for ES82662 (Use Arduino Board Manager) to use LittleFS or SPIFFS. SPIFFS is deprecated from ESP8266 core 2.7.1.
40
+
41
+
---
42
+
---
33
43
34
-
#### Installing use Arduino Library Manager
44
+
##Installation
35
45
36
-
1. The easiest way is to use `Arduino Library Manager`. Search for `ESP_DoubleResetDetector`, then select / install the latest version.
37
-
2. More detailed instructions at [](https://www.ardu-badge.com/ESP_DoubleResetDetector)
46
+
### Use Arduino Library Manager
47
+
The best and easiest way is to use `Arduino Library Manager`. Search for `ESP_DoubleResetDetector`, then select / install the latest version.
48
+
You can also use this link [](https://www.ardu-badge.com/ESP_DoubleResetDetector) for more detailed instructions.
38
49
39
-
#### Manual Install
50
+
### Manual Install
51
+
52
+
Another way to install is to:
40
53
41
54
1. Navigate to [ESP_DoubleResetDetector](https://github.com/khoih-prog/ESP_DoubleResetDetector) page.
42
55
2. Download the latest release `ESP_DoubleResetDetector-master.zip`.
43
56
3. Extract the zip file to `ESP_DoubleResetDetector-master` directory
44
-
4. Copy whole
45
-
-`ESP_DoubleResetDetector-master` folder to Arduino libraries directory such as `~/Arduino/libraries`.
46
-
47
-
### Releases
48
-
49
-
### Releases v1.0.3
50
-
51
-
1. Update to use the new LittleFS for ESP8266 core 2.7.1+
52
-
2. Update [minimal example](examples/minimal)
53
-
54
-
#### Releases v1.0.2
55
-
56
-
1. Fix bug by left-over cpp file.
57
-
2. Fix bug in example.
58
-
3. Enhance README.md
57
+
4. Copy whole `ESP_DoubleResetDetector-master` folder to Arduino libraries' directory such as `~/Arduino/libraries/`.
3. Install **ESP_DoubleResetDetector** library by using [Library Manager](https://docs.platformio.org/en/latest/librarymanager/). Search for ESP_DoubleResetDetector in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
63
+
4. Use included [platformio.ini](platformio/platformio.ini) file from examples to ensure that all dependent libraries will installed automatically. Please visit documentation for the other options and examples at [Project Configuration File](https://docs.platformio.org/page/projectconf.html)
61
64
62
-
1. Add EEPROM and SPIFFS support, besides RTC memory, for ESP8266
63
-
2. Add SPIFFS support, besides EEPROM, for ESP32
65
+
---
64
66
65
67
#### PURPOSE:
66
68
67
-
Detects a double reset so that an alternative start-up mode can be used. One example use is to allow re-configuration of a device's wifi credentials.
69
+
**Detects a double reset so that an alternative start-up mode can be used**. One example use is to allow re-configuration of a device's wifi credentials.
#### And many other libraries are depending on this DRD feature
178
+
179
+
All examples of these following libraries are using DRD feature of this [ESP_DoubleResetDetector Library](https://github.com/khoih-prog/ESP_DoubleResetDetector)
1. Update to use the new LittleFS for ESP8266 core 2.7.1+
197
+
2. Update [minimal example](examples/minimal)
198
+
199
+
#### Releases v1.0.2
200
+
201
+
1. Fix bug by left-over cpp file.
202
+
2. Fix bug in example.
203
+
3. Enhance README.md
204
+
205
+
#### Releases v1.0.1
206
+
207
+
1. Add EEPROM and SPIFFS support, besides RTC memory, for ESP8266
208
+
2. Add SPIFFS support, besides EEPROM, for ESP32
209
+
210
+
---
154
211
155
212
### TO DO
156
213
157
214
1. Search for bug and improvement.
158
215
2. Similar features for Arduino (UNO, Mega, etc...)
159
216
217
+
---
218
+
219
+
### Issues
220
+
221
+
Submit issues to: [ESP_DoubleResetDetector issues](https://github.com/khoih-prog/ESP_DoubleResetDetector/issues)
222
+
223
+
---
224
+
160
225
### Contributions and thanks
161
226
162
-
1. Thanks to [zobix](https://github.com/zobix) for report the bug in [Isssue 2](https://github.com/khoih-prog/ESP_DoubleResetDetector/issues/2)
227
+
1. Thanks to [Stephen Denne](https://github.com/datacute) for the [`DoubleResetDetector library`](https://github.com/datacute/DoubleResetDetector) this library is based upon.
228
+
2. Thanks to [zobix](https://github.com/zobix) for report the bug in [Isssue 2](https://github.com/khoih-prog/ESP_DoubleResetDetector/issues/2)
229
+
230
+
<table>
231
+
<tr>
232
+
<td align="center"><a href="https://github.com/datacute"><img src="https://github.com/datacute.png" width="100px;" alt="datacute"/><br /><sub><b>⭐️ Stephen Denne</b></sub></a><br /></td>
0 commit comments