Pulse – Remote Processing CAMBASIC User Manual

Page 134

Advertising
background image

Comm ands - 101

PULSE

Process Function

SYNTAX:

n= PULSE(m)

PURPOSE:

To re turn the r emaining time of a pu lsed output.

REMARK S:

The resolution of the software pulse timers is 0.005 seconds (0.01 sec in 9 M hz systems). The
remaining time is returned in seconds. A time of 0 indicates the PULSE comm and finished.

The argument range for m is 0 to 7, which is the pulse number set by the PULSE command.

See the Multitasking Chapter for more information.

RELATED:

CLE AR PU LSE, PUL SE comm and

EXAMPLE:

10 A=PULSE(2)

ERROR:

< Data negative> – for m
< Illegal argument> – if m > 7

Advertising