28125 Parallax Inc, 28125 Datasheet - Page 47

TEXT ROBOTICS

28125

Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28125

Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
Your Turn
ACTIVITY #6: INTRODUCING ASCII CODE
In Activity #4: Your First Program, you used the
to display a decimal number in the Debug Terminal. But what happens if you don’t use
the
with no formatter, the BASIC Stamp will read that number as an ASCII code.
Programming with ASCII Code
ASCII is short for American Standard Code for Information Interchange.
microcontrollers and PC computers use this code to assign a number to each keyboard
function. Some numbers correspond to keyboard actions, such as cursor up, cursor down,
space, and delete. Other numbers correspond to printed characters and symbols. The
numbers 32 through 126 correspond to those characters and symbols that the BASIC
Stamp can display in the Debug Terminal. The following program will use ACSII code to
display the words “BASIC Stamp 2” in the Debug Terminal.
DEC
Briefly look over the BASIC Stamp Manual explanation of the
Count the number of example programs in the
there?
Use the BASIC Stamp Manual index to look up the
Look up the
formatter with a number? If you use the
END
command in the BASIC Stamp Manual.
DEC
DEBUG
formatter with the
command followed by a number
DEBUG
DEBUG
section. How many are
command.
Figure 1-49
Reviewing the
DEBUG
Command in the
BASIC Stamp
Manual
DEBUG
DEBUG
command.
command
Most

Related parts for 28125