START

Top  Previous  Next

Action

Start the specified timer/counter.

 

 

Syntax

START timer

 

 

Remarks

timer

TIMER0, TIMER1, TIMER2, COUNTER0 or COUNTER1.

 

You must start a timer/counter in order for an interrupt to occur (when the external gate is disabled).  

 

TIMER0 and COUNTER0 are the same device.

 

 

See also

STOP TIMERx

 

 

Example

ON TIMER0 label2

LOAD TIMER0, 100

START TIMER0

DO                        'start loop

LOOP                        'loop forever

 

label2:                    'perform an action here

 

RETURN