18. Bar Graph

Connect 5 LEDs and a potentiometer to a microcontroller and create the following pattern.

 

Need Help? Refer to the Quick Guide below