28125 Parallax Inc, 28125 Datasheet - Page 166

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
Now the direction instructions will appear in a more familiar format shown in Figure 4-8.
Instead of ASCII codes, they appear as the actual characters you recorded using the
directive.
This program stored a total of 10 characters in EEPROM. These ten characters were
accessed by the
as a byte, so it can access up to 256 locations, well over the 10 we needed. If the
address
to 65535, far more locations than are available. Keep in mind that if your program gets
larger, the number of available EEPROM addresses for holding data gets smaller.
You can modify the existing data string to a new set of directions. You can also add
additional
second data string will get stored immediately after the last character in the first data
string.
Try changing, adding, and deleting characters in the
running the program. Remember that the last character in the
should always be a “Q.”
Modify the
left-right-backward sequence of movements.
Try adding a second
of the first
program will execute only the commands in the first
variable is re-declared to be a word variable, you could theoretically access up
DATA
READ
statements. The data is stored sequentially, so the first character in the
DATA
DATA
command’s
directive to make your Boe-Bot perform the familiar forward-
directive and add it to the end of the second. Otherwise, the
DATA
address
directive. Remember to remove the “Q” from the end
variable. The
address
DATA
DATA
directive.
variable was declared
Figure 4-8
Close-up of the
Detailed
EEPROM Map
after Display
ASCII Box is
Checked
directive, and re-
DATA
directive
DATA

Related parts for 28125