View Single Post
  #3   Spotlight this post!  
Unread 25-11-2005, 14:47
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: EEPROM and Encoders

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.