Quote:
|
Originally Posted by BradAMiller
I've been very successful using them to detect pulses, but the direction is very unreliable. In EasyC and WPILib they are currently just counting pulses. I hope to have a new version out soon that will count up and down for clockwise/counterclockwise.
|
One way to make this work is to trigger a timer and since one direction sends a 20something microsecond pulse and the other sends about a 83 microsecond pulse have the timer go for 60 microseconds and the check if the pulse is present you can then add or subtract to your count accordingly
