Documented rotary encoder module.