Society of Robots - Robot Forum
Software => Software => Topic started by: Resilient on March 22, 2009, 10:21:45 PM
-
With the axon is it possible to have gathered data last over a power off power on cycle?
For example, if I want to remember a path for a maze that I ran, is there a way to store that somewhere so I can power off and still have it there when I power on?
Or if I want to calibrate for lighting conditions between runs of a firefighting robot?
-
The same kind of memory your programming is stored on...EEPROM
-
I guess I should rephrase.
How would I do it?
Is it possible to dedicate a portion of the memory that you can write to? For example, if I wanted to store a two dimensional array that represented what the robot knew about a maze, how would I do that?
Or a simpler case, how would I write a single int that could be used as the baseline light level for a series of runs?
Are there any functions in the AVR library that support this?
-
See link in my sig, basic EEPROM tutorial ;D
-
WIN! ;D
-
Is that for internal or external eeprom?
-
Internal EEPROM.
-
maybe you could add how to hook up external eeprom via spi or something
-
Just in case anyone changes their sig . . .
http://www.societyofrobots.com/member_tutorials/node/309 (http://www.societyofrobots.com/member_tutorials/node/309)