Parallax Boe-Bot Student Manual page 161

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

Advertisement

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.
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.
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-
Chapter 4: Boe-Bot Navigation · Page 147
variable we declared as a word is visible in
counter
Figure 4-6
BASIC Stamp
Memory Map

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?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF