by inaki » Thu Nov 16, 2006 12:45 pm
by inaki
Thu Nov 16, 2006 12:45 pm
Load the timer with some time and then wait until the timer is zero.
Note that the timer starts counting down immediately after you set it to any value.
This is a pseudo-code that explain the technique:
LOAD CM5.TIMER, 20
Loop:
Do something here if you want
IF CM5.TIMER > 0 THEN JUMP Loop
Load the timer with some time and then wait until the timer is zero.
Note that the timer starts counting down immediately after you set it to any value.
This is a pseudo-code that explain the technique:
LOAD CM5.TIMER, 20
Loop:
Do something here if you want
IF CM5.TIMER > 0 THEN JUMP Loop