Rotary encoder control

A rotary encoder detects rotation of the center shaft and is used to control machinery position and motor speed, audio volume, the cursor position on an LCD (Liquid Crystal Display) screen, or simply LED brightness. For example, in Chapter  1 (Internet ra