27404 Parallax Inc, 27404 Datasheet - Page 79

COMPETITION RING FOR SUMOBOT

27404

Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 27404

Accessory Type
Hobby and Education
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SumoBot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
SUMMARY
This chapter introduced a variety of EEPROM and program management techniques.
EEPROM management focused on declaring and naming
EEPROM bytes and groups of bytes used in the program. Techniques for counting resets
were introduced for both toggling between different SumoBot program modes and for
selecting from a list of program modes. Programming focused on adhering to code
conventions for the sake of making large programs easy to build from smaller programs
in your library.
A
the program is downloaded.
EEPROM used for storing values.
keyword can be used to give a meaningful name to the starting address of each group of
bytes. Since this Symbol name represents an address in EEPROM it simplifies
WRITE
DataItems
A procedure was introduced for merging components of smaller programs into larger
programs. It depended on keeping programs organized in common sections: Title,
Compiler Directives, I/O Definitions, Constants, Variables, EEPROM Data,
Initialization, Main Routine, and Subroutines. It also depended on using a common
naming convention for temporary and counting variables.
Questions
DATA
1. How many bytes are in the BASIC Stamp 2's EEPROM memory?
2. If your program took 20 bytes, what would be the addresses of the bytes that
3. If your program takes 1024 bytes, how many bytes are available for EEPROM
4. If your program has a
5. What does EEPROM stand for?
6. What's does compile-time mean?
7. What number system does the BASIC Stamp's EEPROM map use to display the
8. What is the hexadecimal number for decimal-15?
operations in programs that maintain more than one group of EEPROM
store the program?
storage of values?
Values
byte addresses and contents?
directive is a compile-time command that pre-stores values to EEPROM when
.
displays the value 100, what does that mean?
DATA
DATA
directives can also be used to organize the portion of
directive
An optional
Values DATA 1, 2, 3
Symbol
name preceding the
DATA
directives for all
, and
DEBUG DEC
READ
DATA
and

Related parts for 27404