Use a potentiometer to light up a row of LEDs. In this project we will set up basic LED circuits as well as a potentiometer. We will read the value of the potentiometer as we would many other types of sensors. In the code we will see some basic logic using if statements as well as mapping values to make them easy to use.
This circuits reads a binary number from a DIP switch and translates it in the Arduino’s serial port monitor.