28128 Parallax Inc, 28128 Datasheet - Page 37

no-image

28128

Manufacturer Part Number
28128
Description
KIT BASIC ANALOG/DIGI PARTS ONLY
Manufacturer
Parallax Inc
Datasheet

Specifications of 28128

Accessory Type
ADC, DAC
Product
Microcontroller Accessories
For Use With/related Products
BASIC Stamp® 2 and Board of Education
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Six
binary values in the Debug Terminal. The first
different items. Remember, each item in a single
comma.
The
Terminal. Note that it is followed by a comma to separate it from the next item. The next
item is a message in quotes:
Whenever you want to print a text message to the Debug Terminal, use quotes. The third
item is
The fourth item is
A similar message is printed for the variable
command works well when it's used once per loop. Remember that
cursor to the top-left corner of the Debug Terminal. If we used
the loop, the information displayed after the first
by the information following the second
Next, two
carriage returns.
Next, another message in quotes is printed followed by a single carriage return.
In this next command, the quotes contain spaces. The first pair of quotes just contains one
space (the space bar on the keyboard was pressed once). Then the binary value of
printed, followed by another two spaces in quotes, followed by the binary value of
two more carriage returns.
DEBUG
DEBUG HOME
BIN a
DEBUG
DEBUG HOME, "State of pin P0 is ", BIN a, CR
DEBUG "State of pin P1 is ", BIN B, CR, CR
DEBUG "2-bit binary number: ", CR
DEBUG "P1
DEBUG " ", BIN b, "
commands are used to display all the measured states and the calculated
, which tells the Debug Terminal to print the binary value of the variable
command sends the cursor to the top-left "home" position in the Debug
commands are used. Each prints a message in quotes followed by two
CR
, which makes the Debug Terminal print a carriage return.
P0", CR
"State of pin P1 is ".
", BIN a, CR, CR
HOME
command.
b
, without the
DEBUG
HOME
DEBUG
command must be separated by a
command would be over written
command below displays four
HOME
HOME
DEBUG HOME
command. The
more than once in
sends the
a
, then
HOME
b
a.
is

Related parts for 28128