Using a quadrature encoder (rotary switch) with Arduino

I’ve found several sites and posts explaining how to use a quadrature encoder with an Arduino, but wasn’t completely satisfied with any of the methods used. Perhaps part of the problem is with the encoder I’m using: it’s part #COM-09117 at Sparkfun.com. This encoder has twelve detents per rotation, and each detent covers one complete …

Using a quadrature encoder (rotary switch) with Arduino Read More »