bill Posted May 6, 2007 Report Share Posted May 6, 2007 Helloi would like to know how it's possible to delay an action with MIOS, without if possible, the use of the clockbox :)Let me explain :I would like for example to call a function when i push a button after, let's say, one second.Or to be able to clear the screen after 5 seconds of midi unactivity.I guess i have to count some kind of system tiks, but i have no clue where to look at !I hope this is clear, thanks very much for any help ! Quote Link to comment Share on other sites More sharing options...
audiocommander Posted May 6, 2007 Report Share Posted May 6, 2007 Hi Bill,you can either use MIOS_GPCounterGet() which is incremented every millisecond or setup your own timer.Both can be found in the function reference.Hope this helps,Best regards,Michael Quote Link to comment Share on other sites More sharing options...
bill Posted May 7, 2007 Author Report Share Posted May 7, 2007 thanks Michael, Yes, it help a lot !! :Dthis topic helped me too : http://www.midibox.org/forum/index.php?topic=7779.0 ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.