|
At 60rpm, you can use just about anything as that's only 1 rps, meaning you could, in theory, sample down to 1/40th of a rotation.
As for programming, I'd recommend having a few lines of code to turn the input into a numeric identifier for the current position. Then, just compare that position to the one from the last loop to figure out how far you've rotated in the previous 26ms. The only non-trivial part is going to be dealing with loops (ie position was 4 last time, but now is 1--you need to recognize that in this case 1>4).
|