Parallax BASIC Stamp II Manual page 57

Table of Contents

Advertisement

Plabel is an optional label that specifies where to branch in the event of
a parity error (parity mode must be enabled).
Timeout is an optional value that specifies how long to wait before giv-
ing up and branching to tlabel. The amount of time is measured in
milliseconds, and may be up to 65535 (approximately 65 seconds).
Inputdata follows the conventions below:
variable
STR bytearray\L{\E}
SKIP L
WAITSTR bytearray
WAITSTR bytearray\L
WAIT (value,value,...)
DEC variable
DEC1-DEC5 variable
SDEC variable
SDEC1-SDEC5 variable
HEX variable
HEX1-HEX4 variable
SHEX variable
SHEX1-SHEX4 variable
IHEX variable
IHEX1-IHEX4 variable
ISHEX variable
ISHEX1-ISHEX4 variable
BIN variable
BIN1-BIN16 variable
BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333 • Page 57
BASIC Stamp II
Input a byte and store in variable.
Input a string into bytearray of length L with
optional end-character of E (0's will fill remain-
ing bytes).
Input and ignore L bytes.
Wait for bytearray string (bytearray is termi-
nated by 0).
Wait for bytearray string of length L.
Wait for up to a six-byte sequence.
Input decimal value.
Input decimal value of fixed length.
Input signed decimal value.
Input signed decimal of fixed length.
Input hex value (i.e., "00F3").
Input hex value of fixed length.
Input signed hex value.
Input signed hex value of fixed length.
Input indicated hex value (i.e., "$00F3").
Input indicated hex value of fixed length.
Input signed indicated hex value.
Input signed indicated hex value of fixed length.
Input binary value.
Input binary value of fixed length.

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