In this article we will see two ways to use a potentiometer.
The previous article was a few more than a review on how to use LEDs. Because of that, this article will be more dense of contents, we will see two examples of use of the potentiometer.
The first example doesn’t involve any code. With this example we will only learn what a potentiometer is and what it does.
What we need (for both the examples):
- 1x 10KΩ potentiometer
- 1x 220Ω resistor
- 1x 5mm LED