Sleep or Wait command

I’m doing a simple routine that shows off the RGB matrix when you switch it on, like a fancy demo to make all the lights go pretty blinky colors. I need a way to put a brief pause between my loops. Simple thing, but how would I do this in my midibox app…what library would i reference or is there a core function already there i could call for a sleep/wait/pause.

Nothing seems to be around on the forum about it?

MIOS_Delay is what you are looking for (delay is in mS)

Cheers

Phil

Perect. Thanks Phil.

Damn this forum rocks don’t it!

  8)

And this rocks even more: http://www.ucapps.de/cmios_fun.html

Yeah I didn’t think to look there because I imagined I would have to call an external library (not a C programmer you can see). In retrospect thinking a bit about how the app layer sits with the os (mios) I guess it makes sense to have calls like this available this way. Will look here in future but thanks for the responses.