[hw640] has put together a well written and detail packed explanation of how to interface with a digital rotary switch. These digital opto encoders ... switch’s 2 output pins is attached to ...
[GreatScott!] knows this, and rather than put up with the bump and grind of a cheap rotary encoder, he decided to find an alternative. He ended up exploring hard drive motors as encoders ...