122-28029 Parallax Inc, 122-28029 Datasheet - Page 21

GUIDE STUDENT SMART SENSORS

122-28029

Manufacturer Part Number
122-28029
Description
GUIDE STUDENT SMART SENSORS
Manufacturer
Parallax Inc
Datasheet

Specifications of 122-28029

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Smart Sensors
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
The minimal version of the
In our programs, the
connected to BASIC Stamp I/O pin P14.
The
data, and it determines some of the serial signal characteristics as well. The BASIC
Stamp Editor's Help program has tables that give the
rates and signals. It turns out that 84 is the
(bps), 8 data bits, no parity, true signal. This is exactly what the Parallax Serial LCD is
designed to receive.
DataItem
characters like
they are sent with formatters, they are sent as the characters that represent the value. If
they are sent without formatters, they will be sent as values, like 22, 12, and 13. We can
send unformatted values like these to the LCD, which will interpret them as control
codes.
Simple Text Messages and Control Codes
Unlike the Debug Terminal, the serial LCD needs to be turned on with a command from
the BASIC Stamp. The LCD has to receive the value 22 from the BASIC Stamp to
BaudMode
SEROUT Pin, BaudMode, [ DataItem, {DataItem, ...} ]
arguments can be the text between quotes like "Hello". They can also be control
More about
If you want to try using the Debug Terminal with
the toolbar via Run → Debug → New. Next, select Run → Identify to see which port your
BASIC Stamp is using. Then, in the Debug Terminal, set the Com Port to match. Note that
you can also change the Debug Terminal’s Baud Rate and other communication parameters.
There's lots more to learn about the
BASIC Stamp Editor's PBASIC Syntax Guide give the
coverage. The BASIC Stamp Manual is available for free download from
→ Downloads → Documentation. If your BASIC Stamp Editor supports PBASIC 2.5, you
probably already have the PBASIC Syntax guide. To access it, simply select Index from the
BASIC Stamp Editor's Help menu.
argument is a value that tells the BASIC Stamp how fast to send the serial
CR
,
CLS
SEROUT
Pin
, or values, with or without the formatters like
argument has to be 14 since the LCD's RX (receive data) pin is
SEROUT
command's syntax looks like this:
SEROUT
BaudMode
Chapter 1: Parallax Serial LCD Display · Page 9
SEROUT
. Both the BASIC Stamp Manual and the
BaudMode
argument for 9600 bits per second
instead of
SEROUT
values for common baud
DEBUG
DEC
command extensive
www.parallax.com
, first open it from
,
BIN
, and
?
. If

Related parts for 122-28029