sound reactive LEDs help with some code changes please

Hello Everybody

project : sound reactive LEDs with msgeq7

the code contains several Sound reactive LEDs functions (patterns) operated with a push button,
and the button is designed to execute the next pattern upon pull down
I’d like to make some changes, namely, to cancel the button and just let each function to run for 2 minutes and go to the next one, tried to add delay(1000 * minutes * 60); at the and of each function as well as to delete int button
, since i am new to programing i keep getting errors
searching for help with that issue

folder attachment has the code and dropbox link as well

Thanks in advance!

spectrum analyzerr LedS.pdf (75 KB)


Please read the first post in any forum entitled how to use this forum.,148850.0.html .
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Thanks.. Tom... :slight_smile: