Storing simple numeric values

I am using the atom pro as a controller for a custom paddleshift setup for a formula car. I need a way to store the current gear the car is in incase the car gets shut off so I don’t lose track of it. My first thought reading the manual is using the writedr command, but I think there may be an easier way. I need to store a value (0-5) that changes every time the car shifts, and when the car is shut off is a specific gear. Have it start up on that same gear. thoughts?

Without knowing any additional information, I would probably use the ReadDm and WriteDm commands to write the information out to an EEPROM. Not sure how many times these EEProms can be written, but my guess is that it should be enough times…

Kurt

I believe they are rated for either 1million or 10million write cycles. They are standard 24aa32 eeproms.