File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libraries/Preferences/examples/StartCounter Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
ESP32 startup counter example with Preferences library.
3
3
4
4
This simple example demonstrates using the Preferences library to store how many times
5
- the ESP32 module has booted. the Preferences library is a wrapper around the Non-volatile
5
+ the ESP32 module has booted. The Preferences library is a wrapper around the Non-volatile
6
6
storage on ESP32 processor.
7
7
8
8
created for arduino-esp32 09 Feb 2017
@@ -29,7 +29,7 @@ void setup() {
29
29
// Or remove the counter key only
30
30
// preferences.remove("counter");
31
31
32
- // Get the counter value, if the key doess not exist, return a default value of 0
32
+ // Get the counter value, if the key does not exist, return a default value of 0
33
33
// Note: Key name is limited to 15 chars.
34
34
unsigned int counter = preferences.getUInt (" counter" , 0 );
35
35
You can’t perform that action at this time.
0 commit comments