Manual

Potentiometer module
Working voltage: 3.3V~5V
Output type: Obtain the digital output of the potentiometer switch and the analog output
of the potentiometer value (0-1023).
Interface mode: PH2.0~4P
Module size: 35*26.3mm
Module weight: 93g
Pin denifition:
AUTO
Analog output
SW Digital output
- GND
+ VCC
26
Module description: Potentiometer is a kind of three terminal resistance element whose resistance
can be changed according to certain rules. It usually consists of a resistance element and a movable
brush. When the brush moves along the element, a resistance or voltage is generated at the terminal
relative to its moving distance.
Micro:bit
Example 1
code