18. Bar Graph

Connect five LEDs and potentiometer to Arduino Uno and create the following pattern.

 

Submit Your Solution

Note: Once submitted, your solution goes public, helping others learn from your approach!