28125 Parallax Inc, 28125 Datasheet - Page 160

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
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.
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).
EEPROM memory is different from RAM (random access memory) variable storage in
several respects:
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
argument that you determined in Activity #2, page 132.
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.
If the data you store in EEPROM collides with your program, the PBASIC program won't
execute properly.
PULSOUT EndValue

Related parts for 28125