EasyManuals Logo

Parallax Boe-Bot User Manual

Parallax Boe-Bot
360 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #160 background imageLoading...
Page #160 background image
Page 146 · Robotics with the Boe-Bot
colons function the same as a carriage return to separate each PBASIC instruction. Using
colons this way allows all of the new variable values for a given maneuver to be stored
together, and on the same line as the subroutine call.
Your Turn
Here is your "dead reckoning" contest mentioned earlier.
Modify MovementWithVariablesAndOneSubroutine.bs2 to make your Boe-Bot
drive in a square, facing forwards on the first two sides and backwards on the
second two sides. Hint: you will need to use your own PULSOUT EndValue
argument that you determined in Activity #2, page 132.
ACTIVITY #6: ADVANCED TOPIC - BUILDING COMPLEX MANEUVERS
IN EEPROM
When you download PBASIC program to your BASIC Stamp, the BASIC Stamp Editor
converts your program to numeric values called tokens. These tokens are what the
BASIC Stamp uses as instructions for executing the program. They are stored in one of
the two smaller black chips on top of your BASIC Stamp, the one labeled "24LC16B.”
This chip is a special type of computer memory called EEPROM, which stands for
electrically erasable programmable read only memory (EEPROM). The BASIC Stamp’s
EEPROM can hold 2048 bytes (2 kB) of information. What’s not used for program
storage (which builds from address 2047 toward address 0) can be used for data storage
(which builds from address 0 toward address 2047).
If the data you store in EEPROM collides with your program, the PBASIC program won't
execute properly.
EEPROM memory is different from RAM (random access memory) variable storage in
several respects:
EEPROM takes more time to store a value, sometimes up to several
milliseconds.
EEPROM can accept a finite number of write cycles, around 10 million writes.
RAM has unlimited read/write capabilities.
The primary function of the EEPROM is to store programs; data can be stored in
leftover space.

Table of Contents

Other manuals for Parallax Boe-Bot

Questions and Answers:

Question and Answer IconNeed help?

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

Parallax Boe-Bot Specifications

General IconGeneral
BrandParallax
ModelBoe-Bot
CategoryRobotics
LanguageEnglish