EasyManuals Logo

Parallax BASIC Stamp II User Manual

Default Icon
68 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #60 background imageLoading...
Page #60 background image
Page 60 • BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333
BASIC Stamp II
Fpin is an optional flow-control pin. This pin may be used to imple-
ment “flow-control” handshaking between serial devices.
Baudmode is a composite value which specifies baud rate, parity mode,
true/inverted output, and open/driven output.
Bits 0-12 of baudmode are the serial bit period expressed in micro-
seconds-20. Bit 13 ($2000) is 0 for 8-bit no parity, 1 for 7-bit parity.
Bit 14 ($4000) is 0 for true, 1 for inverted. Bit 15 ($8000) is 0 for
driven, 1 for open-drain/open-source.
If the RS232-level pin (16) is specified, then baudmode bits 14 and
15 are ignored. However, their settings will still affect operation of
the optional flow-control pin (fpin).
An easy formula for calculating the bit period (bits 0-12) is:
Example values for baudmode:
3313 300 baud, 8-bit, no parity, true data, driven output
3313 +$2000 300 baud, 7-bit, parity, true data, driven output
3313 +$4000 300 baud, 8-bit, no parity, inverted data, driven output
3313 +$6000 300 baud, 7-bit, parity, inverted data, driven output
3313 +$8000 300 baud, 8-bit, no parity, true data, open drain/source
813 1200 baud, 8-bit, no parity, true data, driven output
396 2400 baud, 8-bit, no parity, true data, driven output
188 4800 baud, 8-bit, no parity, true data, driven output
84 +$6000 9600 baud, 7-bit, parity, inverted data, driven output
32 19200 baud, 8-bit, no parity, true data, driven output
32 +$2000 19200 baud, 7-bit, parity, true data, driven output
6 38400 baud, 8-bit, no parity, true data, driven output
Pace is an optional value that specifies how long to wait between trans-
mitted bytes. The amount of time is measured in milliseconds, and
may be up to 65535 (approximately 65 seconds). A pace value may
only be specified if flow-control is not being used.
Timeout is an optional value that specifies how long to wait before giv-
ing up and branching to tlabel. The amount of time is measured in
1,000,000
baud rate
int ( ) - 20

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Parallax BASIC Stamp II and is the answer not in the manual?

Parallax BASIC Stamp II Specifications

General IconGeneral
BrandParallax
ModelBASIC Stamp II
CategoryMicrocontrollers
LanguageEnglish