Unit Angle is a knob switch input Unit, which has a built-in 10K potentiometer. By rotating the knob, its internal resistance value can be changed.
A potentiometer is a resistor component with three leads whose resistance can be adjusted according to a certain variation pattern. Based on this principle, the ESP32 can obtain the output voltage of the potentiometer through Port B, and then obtain the corresponding mapped data after AD conversion. In application scenarios requiring continuous signal control, such as volume adjustment, brightness adjustment, or motor speed control, Unit Angle will be a good choice.