Specifications

BASIC Stamp I and Stamp II Conversions
Page 432 • BASIC Stamp Programming Manual 1.8 • Parallax, Inc.
7.If QUALIFIERS are specified within a WAIT modifier, remove the
word “WAIT”.
8.IF QUALIFIERS are specified within a WAITSTR modifier, replace
the word “WAITSTR” with an open parenthesis, “(“. Convert the
bytearray into a constant text or number sequence separated by
commas if necessary (remove the length specifier “\L” if one ex-
ists) and insert a close parenthesis, “)”, immediately afterward.
9.If a variable is preceded with a DEC formatter, replace the word
“DEC” with “#”.
10. Any formatter other than DEC and WAIT or WAITSTR has no di-
rect equivalent in the Stamp I and must be removed. Additional
variables or parsing routines will have to be used to achieve the
same results in the Stamp I as with the Stamp II.
Example:
BS2: SERIN 15, 813, 1000, TimedOut, [WAIT(“ABCD”), DEC
FirstByte, SecondByte]
BS1: SERIN 7, 1, (“ABCD”), #B0, B1