Activity #6: Introducing Ascii Code - Parallax Boe-Bot Student Manual

Hide thumbs Also See for Boe-Bot:
Table of Contents

Advertisement

Briefly look over the BASIC Stamp Manual explanation of the
Count the number of example programs in the
there?
Your Turn
Use the BASIC Stamp Manual index to look up the
Look up the
END

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
formatter with a number? If you use the
DEC
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.
command in the BASIC Stamp Manual.
DEC
Chapter 1: Your Boe-Bot's Brain · Page 33
DEBUG
section. How many are
DEBUG
Figure 1-49
Reviewing the
DEBUG
Command in the
BASIC Stamp
Manual
command.
DEBUG
formatter with the
DEBUG
command followed by a number
DEBUG
command.
command
Most

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Boe-Bot and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF