Unit Angle is a knob switch input Unit, which has a built-in 10K potentiometer. By rotating the knob, you can change its internal resistance value.
A potentiometer is a resistive element with three terminals, whose resistance value can be adjusted according to a certain change rule. Based on this principle, the ESP32 obtains the output voltage of the potentiometer through port B, and then performs AD conversion to get the corresponding mapped data. In application scenarios requiring continuous signal control, such as "volume, brightness adjustment, or motor speed control," Unit Angle is a good choice.