What I want to do to keep things as simple and easy as possible is store all of this data in a single object so that when the device boots it reads this one object out of eeprom and runs using these values, and when I make a change through the web server it updates the one or 2 values in that object and saves the whole thing to eeprom. This way, if I add a new variable I don’t need to go edit a ton of stuff.
I have looked high and low and everything I’ve tried gives me errors or just doesn’t work.
Now I’ve been able to store, retrieve and update a single variable in eeprom, and that value survives a power cycle which is great, but getting some kind of multi-value array is confusing to me.
A friend told me I could do this with json but that didnt work the same way as the individual variable did. I’ve also seen examples using a struct, but that doesn’t work right and gives errors. I feel like there are things I just don’t understand about the way data is handled in this language and platform. What is a struct anyways? I thought it stood for “structure”, seemed to make sense from the code examples I’ve read.
Any help would be greatly appreciated, I think this is the last major hurdle I need to overcome for my first project to be finished. Thank you!