Omnimaga
Calculator Community => TI Calculators => Calculator C => Topic started by: SirCmpwn on October 28, 2010, 08:16:23 am
-
How do I set up a timed interrupt routine?
-
(I am supposing this is for the TI-Nspire)
Could you describe further what you would like to do? Setting an an interrupt handler is probably not easy, perhaps an inline delay could be a better solution depending on what you want to do.
I have a working sleep() routine I should commit to the Ndless SVN.
-
I want a way of timing when code will run, for music.
-
For music? So it's not for the TI-Nspire.
Anyway I have just commited the sleep() (http://hackspire.unsads.com/wiki/index.php/Libndls#Time) function.
-
It is for the nspire, actually, hence why I posted in the C thread.
-
So you are trying to output sound to the 84+ I/O port?
Is sleep() good for you?
-
I don't think so, I was hoping to have some code that is executed every so often, where "so often" was a known value.
-
*bump*