|
Re: encoder code for 18f8520
Take a look at: http://kevin.org/frc/2005/frc_encoder.zip
Kevin Watson did an example of a quadrature encoder. If you have a single phase wire coming out of your Vex encoder (new ones are quad encoders, old ones are single phase) then you can still use this, but it will only count up.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
|