Best way to modify a variable with out storage #4523
Replies: 1 comment
-
Posted at 2015-03-16 by @allObjects ...I guess not... just go for the @drazzy stuff, he put a lot into... and it is working just fine... and it is part of the release. 'Gluing' a few legs onto your board and you are there with robust reliability... Posted at 2015-03-16 by fobus @allObjects I'm using STM32F4 Discovery, I can't see any eeprom spesification in the brief : http://www.st.com/st-web-ui/static/active/en/resource/technical/document/data_brief/DM00037955.pdf So, I need to buy and plug an eeproom module, then code on it. Am I right? Posted at 2015-03-16 by DrAzzy Yeah - sadly the STM32's don't have builtin EEPROM. I recommend AT24 eeproms - the both the chips and the modules are cheap and abundant. http://www.espruino.com/AT24 (info on AT24 and Espruino) Posted at 2015-03-17 by @gfwilliams Yes, EEPROMs are probably the most sensible solution (the OneWire ones are quite easy to work with as well) . Other options are:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-03-16 by fobus
Hello,
I need to set some variables. Those variables are positions of motors that I use in my project. I want to set those variables because I want to continue work if device restarts somehow.
I'm setting the devices position after each step. When stepping job done, I use save() function to save current position.
But this way causes some conflicts, I think it doesn't only change value and save it. It appends some code after my pure code, then saves it.
Are there a better way to set variables without using an external storage device?
Beta Was this translation helpful? Give feedback.
All reactions