16. Seesaw Effect Using LEDs

Connect five LEDs and a Potentiometer to Arduino UNO and create the following pattern.

Observe: 

  • When the Potentiometer is at 0%, LED-0 has 0% brightness & LED-4 has 100% brightness. (LED 0 to 4 having linear brightness levels from 0 to 100%)
  • As we move the potentiometer towards 100% the brightness levels become reversed.

Submit Your Solution