Specifications

BASIC Stamp I and Stamp II Conversions
Page 430 • BASIC Stamp Programming Manual 1.8 • Parallax, Inc.
formatters. Additionally, the following formatters are available:
STR bytearray\L{\E} input a string into bytearray
of length L with optional end-
character of E. (0’s will fill
remaining bytes).
SKIP L input and ignore L bytes.
WAITSTR bytearray{\L} Wait for bytearray string (of
L length, or terminated by 0
if parameter is not specified
and is 6 bytes maximum).
WAIT (value {,value...}) Wait for up to a six-byte se-
quence.
CONVERSION: BS1 R BS2
1.BAUDMODE is a constant or a bit, nibble, byte or word variable
equal to the bit period of the baud rate plus three control bits which
specify 8-bit/7-bit, True/Inverted and Driven/Open output. The
following table lists the Stamp I baudmodes and the correspond-
ing Stamp II baudmode:
SERIN Baudmode Conversion
Stamp I Baudmode Stamp II Baudmode
0 T2400 396
1 T1200 813
2 T600 1646
3 T300 3313
4 N2400 396 + $4000
5 N1200 813 + $4000
6 N600 1646 + $4000
7 N300 3313 + $4000
2.INPUTDATA includes QUALIFIERS and VARIABLES and must