View Single Post
  #7   Spotlight this post!  
Unread 10-11-2005, 10:17
Issues Issues is offline
Registered User
FRC #0525
 
Join Date: Nov 2005
Location: Iowa
Posts: 11
Issues is on a distinguished road
Re: Why are four states needed with Quadratuer encoders?

Thank you for the feedback. The colored wheel illistration was helpful. I still have a question. I looked at how you set up the code and I think I get it, but what edge should be set for interupt? For the machine to keep up with the state changes wouldn't you want to interupt both when it goes from white to black and from black to white?