Page 1 of 1

Store an integer array to NVS

Posted: Wed Feb 13, 2019 1:43 pm
by KaranRaj
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!

Re: Store an integer array to NVS

Posted: Thu Feb 14, 2019 2:58 am
by ESP_Sprite
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

Posted: Thu Feb 14, 2019 11:39 pm
by mikemoy

Re: Store an integer array to NVS

Posted: Tue Feb 19, 2019 6:53 am
by KaranRaj
Sorry about the caps, and thanks for the reply. I was able to save the array into the NVS using blob.