Make each animation a function then use Switch Case to select each one with a button press.
To make the code shorter put each LED animation sequence in an array that can used by the functions.
Make each animation a function then use Switch Case to select each one with a button press.
To make the code shorter put each LED animation sequence in an array that can used by the functions.