|
Task1% = TIME Task2% = TIME REPEAT WAIT 1 : REM Release the CPU to other processes IF (TIME - Task1%) > 100 THEN Task1% = TIME REM Put here things which need to be done REM once every second ENDIF IF (TIME - Task2%) > 10 THEN Task2% = TIME REM Put here things which need to be done REM ten times every second ENDIF UNTIL FALSE
|
|