Specifications
Appendix C
Parallax, Inc. • BASIC Stamp Programming Manual 1.8 • Page 435
C
• TPIN = PIN and may be in the range 0..16.
• BAUDMODE may be any bit period in between 300 baud and 50000
baud and can be calculated using the following formula:
INT(1,000,000/Baud Rate) - 20.
• The optional formatter may include any valid formatter for the
DEBUG command.
Example:
BS1: SEROUT 3, T2400, (“Start”, #B0, B1)
BS2: SEROUT 3, 396, [“Start”, DEC FirstByte, SecondByte]
CONVERSION: BS1 Q BS2
1.PIN = TPIN and must be in the range 0..7.
2.Remove the FPIN argument “\fpin” if it is specified. No flow con-
trol pin is available on the Stamp I.
3.BAUDMODE is a constant or a symbol or a bit, byte or word vari-
able representing one of the predefined baudmodes. Refer to the
BAUDMODE Conversion table above for Stamp II baudmodes and
their corresponding Stamp I baudmodes. While the Stamp II
baudmode is quite flexible, the Stamp I can only emulate specific
baud rates.
4.Remove the PACE argument if it is specified. No pace value is
allowed on the Stamp I.
5.Remove the TIMEOUT and TLABEL arguments if they are speci-
fied. No timeout function is available on the Stamp I; the program
will transmit data regardless of the status of the receiver.
6.Replace the brackets, “[“ and “]”, with parentheses, “(“ and “)”.
7.If a variable is preceded with a DEC formatter, replace the word
“DEC” with “#”.
8. Any formatter other than DEC has no direct equivalent in the Stamp
I and must be removed. Additional variables or constants will
have to be used to achieve the same results in the Stamp I as with
the Stamp II.










