Clear pulse – Remote Processing CAMBASIC User Manual
Page 53

Comm ands - 20
CLEAR PULSE
Tasking Statement
SYNTAX:
CLEAR PULSE n [, n 1] . . . [, n m]
PURPOSE:
To clear the rem aining time in a software timer and restore the I/O line polarity.
REMARK S:
Once a tim er has be en started using the PU LSE sta tement, a CL EAR PUL SE statem ent is used to
abort the tim ing sequence . T he output bit polarity specified in the P ULS E com mand is r estored to
the inactive state.
RELATED:
PUL SE statement and function
EXAMPLE:
10 CLEAR PULSE 1
10 CLEAR PULSE 0,1,2,3,4
ERROR:
< Data negative> – for n
< Data out of range> – if n > 7