Specifications
Commands - 93
PULSE
Process Function
SYNTAX: n=PULSE(m)
PURPOSE: To return the remaining time of a pulsed output.
REMARKS: The resolution of the software pulse timers is 0.005 seconds (0.01 sec in 9 Mhz systems). The
remaining time is returned in seconds. If the timer is still in the wait period, the number returned will
be negative.
The argument range for m is 0 to 7, which is the timer number.
See the Multitasking Chapter for more information.
RELATED: CLEAR PULSE, CONFIG PULSE, RESUME PULSE, START PULSE, STOP PULSE
EXAMPLE: 10 A=PULSE(2)
ERROR: <Data negative> – for m
<Illegal argument> – if m > 7