-
First off can we call it a push button switch

-
Yes, when the switch is closed, you enable and start a TIMER.
As long as the TIMER is enabled, the LED animation runs.
When the TIMER expires, you stop the animation. -
Search for millis() based timer.
1 Like