|
Re: Troublesome encoder ISR
How fast are they spinning? What COULD be happening is you are spinning them fast enough that when you check for direction (I assume Quadrature Encoders based on a and b in your code) you have already transitioned too far. The only real solution would be slow it down. Turn the encoders by hand to see if this is happening then too. Hope this helps.
__________________
.
|