Youtube Video

Things you need

Breadbaord

LEDs

Arduino UNO

Breadboard Wires

How to build

Let's code

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 

That's all tanks for reading, please give us a star and share this post