Hi All!
Can anyone help me out on how to store an integer array (in my case, consisting of 144 elements) to the Non-Volatile Storage? I need to get the array after my ESP wakes up from deep-sleep, just so you understand why I need to do that.
Thanks!
Store an integer array to NVS
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: Store an integer array to NVS
I have de-capped your title, no need to scream. You should be able to store your array as a blob type.
Re: Store an integer array to NVS
have a look in the examples folder
https://github.com/espressif/esp-idf/tr ... es/storage
https://github.com/espressif/esp-idf/tr ... es/storage
Re: Store an integer array to NVS
Sorry about the caps, and thanks for the reply. I was able to save the array into the NVS using blob.
Who is online
Users browsing this forum: No registered users and 95 guests