Search found 2 matches

by mantas
Tue Aug 27, 2019 12:08 pm
Forum: ESP32 Arduino
Topic: Storing 3D array in memory
Replies: 3
Views: 5689

Re: Storing 3D array in memory

I changed my array to unsigned char to save space

but i still get error
[E][Preferences.cpp:457] getBytesLength(): nvs_get_blob len fail: calendar NOT_FOUND

thats the librrary im trying to use
https://github.com/espressif/arduino-es ... references
by mantas
Mon Aug 19, 2019 9:46 pm
Forum: ESP32 Arduino
Topic: Storing 3D array in memory
Replies: 3
Views: 5689

Storing 3D array in memory

I'm trying to store a 3d array in memory

Code: Select all

int bigarray[5][12][50];

preferences.begin("my-app", false);
preferences.getBytes("calendar", bigarray, 3000);
preferences.end();
but it doesnt seem to be working any ideas?