[hw640] has put together a well written and detail packed explanation of how to interface with a digital rotary switch. These digital opto encoders have just two outputs with four possible logic ...
knows this, and rather than put up with the bump and grind of a cheap rotary ... made a workable encoder, later improved by sending each phase through a comparator and using digital inputs rather ...