View Single Post
  #3   Spotlight this post!  
Unread 12-02-2004, 04:03
Avarik Avarik is offline
Registered User
#0022
 
Join Date: Jan 2004
Location: Chatsworth, CA
Posts: 75
Avarik is an unknown quantity at this point
Re: Interrupts and rotation sensors

Try Kevin's encoder code, found here: Kevin's Code

Take the encoder code, and take a look at that. A few changed need to be made (don't know what specifically) and the encoder.c and encoder.h files need to be added to the frc code for it to work.

To order encoders, try digi-key. Aim for a good pulse per revolution, and make sure you don't try to get too much feedback from encoders (try to stay at around 1000? maybe 1500?) and goodluck!