Specifications

Appendix C
Parallax, Inc. • BASIC Stamp Programming Manual 1.8 • Page 433
C
SEROUT
BASIC STAMP I
SEROUT pin, baudmode, ( {#} data {, {#} data...} )
PIN is a constant or a bit, byte or word variable in the range 0..7.
BAUDMODE is a constant or a bit, byte or word variable in the
range 0..15 or a symbol with the following format:
{O}[T|N][2400|1200|600|300].
DATA is a constant or a bit, byte or word variable.
# will convert binary numbers to ascii text equivalents up to 5 dig-
its in length.
BASIC STAMP II
SEROUT tpin{\fpin}, baudmode, {pace,} {timeout, tlabel,} [outputdata]
• TPIN is a constant, expression or a bit, nibble, byte or word vari-
able in the range 0..16.
• FPIN is a constant, expression or a bit, nibble, byte or word vari-
able in the range 0..15.
BAUDMODE is a constant, expression or a bit, nibble, byte or word
variable in the range 0..60657.
PACE is a constant, expression or a bit, nibble, byte or word vari-
able in the range 0..65535 specifying a time (in milliseconds) to
delay between transmitted bytes. This value can only be specified
if the FPIN is not specified.
• TIMEOUT is a constant, expression or a bit, nibble, byte or word
variable in the range 0..65535 representing the number of millisec-
onds to wait for the signal to transmit the message. This value can
only be specified if the FPIN is specified.
TLABEL is a label to jump to in case of a timeout. This can only be
specified if the FPIN is specified.