This demonstrates controlling 4 LEDs by using a potentiometer and a button. The potentiometer controls how many LEDs are on by measuring the value of the potentiometer. When the button is pressed, it displays a sequence of ripples for the LEDs depending on how many LEDs are on.
- Tags
-