17. LEDs Fading Speed Control

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

We can observe alternate LED Fade in/out patterns. Where the fading speed is controlled by a potentiometer smoothly. 

Speed Control:

  • When the knob is turned toward 0%, the LEDs fade quickly.
  • When the knob is turned toward 100%, the LEDs fade slowly.

 

 

 

Submit Your Solution