Hi all, I am currently a student in high school and have just started using the Arduino Uno microcontroller.

My question is, how do I alter my program so that once a pushbutton is pressed (not held), the entire LED sequence will light up? Right now, the best I can do is that the LED will only be on when the pushbutton is pressed, and goes off when the pushbutton is released.

This is my code so far (just started), how can I change it so that the LEDs will flash indefinitely when the pushbutton is pressed once?