Read variables from SD Card


hi folks,

i trying save variables on sd card , read them again @ power up. example, logging ah on battery capacity calculation, stored every often.

after arduino powered off initialize such variable last recorded value, instead of 0.

any ideas?

sounds feasible. need write data file save it, , read contents of file @ startup (with logic sensible default if data isn't present / can't read). easier test , check correct behaviour if write data file using textual format rather binary format.

if don't have data save , don't need save often, save in eeprom. there eeprom write example in playground gives couple of helper functions make simple implement.


Arduino Forum > Using Arduino > Programming Questions > Read variables from SD Card


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support