I made a led cube and it has 2 different patterns that are triggered by 2 different functions.
I need to loop one function for 5 minutes then loop the second function for the next five minutes then start over... How would I do this?
Im guessing I'd have to use the millis(); command but how?
:-?
Yes, millis is one way. There is an example sketch in the digital section of the IDE called BlinkWithoutDelay that shows a structure of a loop using the millis() function.
I like the MsTimer2 library for things like that. You would use a value of 300000 for a 5 min interrupt. http://www.arduino.cc/playground/Main/MsTimer2
Lefty