Omnimaga
Calculator Community => TI Calculators => Calculator C => Topic started by: wRieDen on February 25, 2011, 02:22:02 pm
-
hi, i hope someone can help me with that.
Basically i search a timer, wich ticks around 1ms.
The second nSpire timer semms to be the right one for me, but i've no idea how to slow it down :banghead:
I allready tried setting 900D0010 to higher/lower values but it changed nothing?
-
If you just need to wait for an arbitrary number of milliseconds, you can try the sleep() function (http://hackspire.unsads.com/wiki/index.php/Libndls#Time).
Else if you need asynchronous processing, you can have a look an the sleep function source code (https://www.unsads.com/scm/svn/nsptools/Ndless/trunk/libndls/sleep.c) for the timer setup and Hackspire (http://hackspire.unsads.com/wiki/index.php/Interrupts) for the interrupts management.
-
Hey, thanks! Now it works fine, thought i tried almost the same before :)