Specifications

Appendix C
Parallax, Inc. • BASIC Stamp Programming Manual 1.8 • Page 429
C
SERIN
BASIC STAMP I
SERIN pin, baudmode {,(qualifier {,qualifier...} ) } {,{#} variable...}
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..7 or a symbol with the following format:
[T|N][2400|1200|600|300].
QUALIFIERs are optional constants or a bit, byte or word vari-
ables which must be received in the designated order for execu-
tion to continue.
VARIABLE is a bit, byte or word variable.
# will convert ascii numbers to a binary equivalent.
BASIC STAMP II
SERIN rpin{\fpin}, baudmode, {plabel,} {timeout, tlabel,} [inputdata]
• RPIN 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..65535.
PLABEL is a label to jump to in case of a parity error.
• 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 an incoming message.
TLABEL is a label to jump to in case of a timeout.
INPUTDATA is a set of constants, expressions and variable names
separated by commas and optionally proceeded by the formatters
available in the DEBUG command, except the ASC and REP