1What you need
- 3 clip connectors
- adjustable resistor (potentiometer)
2Challenge
Clamp an adjustable resistor (potentiometer) to the Calliope mini. Turn the potentiometer to different positions and show its numerical value on the LED display.
3Solution
Code
![](https://calliope.cc/media/pages/projekte/einen-verstellbaren-widerstand-benutzen/c6efb75ebd-1558479306/widerstand01.gif)
Note: The string "*" in front of "show number" helps to recognize the number better on the LED display (beginning of the scrolling text).
Potentiometer
middle leg: analog input (P1)
Outer leg: GND (-)
Outer leg: VCC (+)
![](https://calliope.cc/media/pages/projekte/einen-verstellbaren-widerstand-benutzen/87c3cef706-1558479308/widerstand02.gif)
This text as well as the image is published under a CC BY-SA 4.0 DE license popup: yes. It was originally published in German popup: yes by phzh popup: yes and translated into English by the Calliope team.