Specifications

BASIC Stamp I and Stamp II Conversions
Page 434 • BASIC Stamp Programming Manual 1.8 • Parallax, Inc.
OUTPUTDATA is a set of constants, expressions and variable names
separated by commas and optionally proceeded by the formatters
available in the DEBUG command.
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:
SEROUT 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
8 OT2400 396 + $8000
9 OT1200 813 + $8000
10 OT600 1646 + $8000
11 OT300 3313 + $8000
12 ON2400 396 + $C000
13 ON1200 813 + $C000
14 ON600 1646 + $C000
15 ON300 3313 + $C000
1.Replace the parentheses, “(“ and “)”, with brackets, “[“ and “]”.
2.Replace any optional “#” formatters with the equivalent “DEC”
formatter.