Quote:
|
Originally Posted by Bharat Nain
In the past, I have seen teams use EEPROM to record an autonomous mode at the click of a joystick. ...
So I thought of a neat idea although I haven't yet figured out how this is feasible - record encoder counts into the EEPROM. We would have to avoid time as a variable(unless someone thinks up of a clever scheme). Any ideas?
|
you are describing a state machine. The EEPROM holds the 'next condition' that must be met until the it advances to the next state
an encoder input to a counter could be one of the inputs its looking at.
You could store it all in an EEPROM table or you could implement it as a SW algorithm - both will work.