Table of Contents

Advertisement

BASIC Stamp II

PULSIN

Input a timed pulse.
usage:
PULSIN pin,state,variable
Pin will be placed in input mode. A pulse of state will be awaited and
measured with 2µs resolution, and the result will be written into variable.
If an overflow occurs while waiting for any edge, (>65535*2µs or
>131ms), 0 will be written into variable.
BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333 • Page 47

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BASIC Stamp II and is the answer not in the manual?

Table of Contents