degc437 / cellbots

Automatically exported from code.google.com/p/cellbots
0 stars 0 forks source link

Save configuration to EEPROM on Arduino #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Configurable arduino settings can be saved to the devices EEEPROM so they
dont need to be configured in source code or be sent from the phone after
each reboot.

Original issue reported on code.google.com by glen.arrowsmith on 23 Apr 2010 at 5:55

GoogleCodeExporter commented 8 years ago
I have added some code that stores some
configurable settings into the Arduino's EEPROM (non-volatile memory)
so every time you start, you dont need to calibrate servos and speed
after each Arduino reboot.

servoCenterLeft, servoCenterRight, speedMultiplier and
servosForcedActive settings are now stored in EEPROM.

Possible problem: Changing the default setting in source code does not
change it after its been set for the first time. Will have to be
careful.

Original comment by glen.arrowsmith on 23 Apr 2010 at 10:20