Please Let Me Know How Much You Like This (1 is very Bad - 10 is Excellent)

Controlling five LEDs with a button in a sequence with Arduino.



Using modulus operator we can turn on and off LEDs in sequence.


By using arrays we can shorten the code as seen below



//