I'm trying to activate different LED flashing modes via a push button

It might help us to help you if you explain what your code is supposed to do and what it actually does.

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advice on) your project :wink: See About the Installation & Troubleshooting category.