📋 Overview
The KY-040 Rotary Encoder Module is a 360-degree rotary input device — a control knob — that tells your microcontroller how much the knob has been rotated and which direction it's turning. Unlike a potentiometer, a rotary encoder has no start or end point; it spins continuously in either direction, outputting digital pulses yo