Coding


 


CODE

First Sequence :  In the first sequence all the leds will glow and turn off together

 

Second Sequence: In the second sequence all the leds will glow one by one and then turn off one by one.




Third Sequence: In the third sequence led1 & led2 will glow together and led3 will glow after led1 & led2 are turn off.

Now, merge all the three sequences together.