saving parameters in eeprom ?
Don Pomplun
Posts: 116
I want the user to be able to save some runtime-generated servo position parameters so they come back after a restart. Since there is plenty of room in the Prop's existing external eeprom, it seems hat there ought to be a way to do that. The problem is that if I reload the spin code into eeprom, it wipes out that data. Some googling has turned up seeming possibilities with parallax serial terminal. I read some implication that I should be able to read dat values copied into the code from the eeprom and affix them into my updated code so that they load intact into the new program.There just seem to be some missing ends.
Looking at the PST methods, there doesn't seem to be anything that helps.
Plus looking at the object info window, the ram usage numbers don't seem to add up, whether I treat them as decimal or hex.
If this is at all clear, maybe someone can steer me to a known solution.
TIA
Don
Looking at the PST methods, there doesn't seem to be anything that helps.
Plus looking at the object info window, the ram usage numbers don't seem to add up, whether I treat them as decimal or hex.
If this is at all clear, maybe someone can steer me to a known solution.
TIA
Don
Comments
Do you need help saving to upper EEPROM?
Duane
here's one I found that was made for storing variables in the event of a power loss http://obex.parallax.com/objects/765/
looks like it could be easily modified for whatever you're doing