28125 Parallax Inc, 28125 Datasheet - Page 161

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
You can view the contents of the BASIC Stamp’s EEPROM in the BASIC Stamp Editor
by clicking Run and selecting Memory Map . Figure 4-6 shows the Memory Map for
MovementsWithSubroutines.bs2. Note the condensed EEPROM Map on the left side of
the figure. This shaded area in the small box at the bottom shows the amount of
EEPROM that MovementsWithSubroutines.bs2 occupies.
While we are here, note also that the
Register 0 of the RAM Map.
This program might have seemed large while you were typing it in, but it only takes up
136 of the available 2048 bytes of program memory. There currently is enough room for
quite a long list of instructions. Since a character occupies a byte in memory, there is
room for 1912 one-character direction instructions.
EEPROM Navigation
Up to this point we have tried three different programming approaches to make your Boe-
Bot drive forward, turn left, turn right, and drive back again. Each technique has its
merits, but all would be cumbersome if you wanted your Boe-Bot to execute a longer,
more complex set of maneuvers. The upcoming program examples will use the now-
The memory map images shown in this activity were taken from the BASIC Stamp Editor
v2.1. If you are using an earlier version of the BASIC Stamp Editor, your memory map will
contain the same information, but it will be formatted differently.
counter
variable we declared as a word is visible in
Figure 4-6
BASIC Stamp
Memory Map

Related parts for 28125