View Single Post
  #10   Spotlight this post!  
Unread 04-12-2008, 16:55
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,503
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Interrupt on driver station digital input

Quote:
Originally Posted by Joe Ross View Post
You can also buy encoders with an analog interface, like the US Digital MA3. http://www.usdigital.com/products/en...ary/shaft/ma3/
I agree, whatever you were trying to do with an incremental encoder on the controls side could probably be done with an absolute encoder with an analog output, or probably even a continuous pot.

I imagine the code would be simple enough to just check the value each cycle and compare it to previous to get the "distance traveled".

Big Caveat, It's been forever since I really sat down and programmed.