The Best Electronic and Robotic and Tech blog
Breadbaord
LEDs
Arduino UNO
Breadboard Wires
HEy there
So at first we output pin 2 till 12
then in void loop we just read the voltage via adc then with basic math witch we can convert that voltage to a number between 0 till 12 (you may need to change 600 to higher or lower)
after that we just turn leds on and off with the number we get
nice