28139 Parallax Inc, 28139 Datasheet - Page 142

KIT REMOTE IR FOR BOE-BOT W/TEXT

28139

Manufacturer Part Number
28139
Description
KIT REMOTE IR FOR BOE-BOT W/TEXT
Manufacturer
Parallax Inc
Datasheets

Specifications of 28139

Accessory Type
IR Remote
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Maneuver_List DATA
Distance_List DATA
Figure 3-4 shows examples of the two
DebugPlayback.bs2, and how they relate to the command syntax. Most of this syntax
was introduced in Robotics with the Boe-Bot v2.0 in Chapter 4, Activity #6. One element
that may be new to you is the optional
example
Stamp's EEPROM.
In the first
"F" is stored at address 15, the "L" at address 16, the "R" at address 17, and etc. The
optional
Editor during compile time. You can use this symbol in your program in place of the
number 15, and as you will see, it makes writing programs to access EEPROM data
much easier.
The second
at address 35. The result is that the number 40 is stored at address 35, the number 20 at
address 36, and so on. Both
symbol name for this second
constant 35, which you will also use in DebugPlayback.bs2.
{Symbol}
Maneuver_List
DATA
The programs in this activity will only use byte values, so the optional
will not be needed. For more information and examples of the
DATA
Guide. You can also find examples that make use of the
Microcontroller? and Robotics with the Boe-Bot.
DATA
DATA
directives to place the
directive examples with
directive,
DATA
directive also uses the
@ 15,
@ 35,
symbol will automatically be set to 15 by the BASIC Stamp
{@Address,}
@ 15
DATA
DATA
places the first
Word
"F", "L", "R", "B", "Q"
directives have the optional
directive is
40,
DataItems
DATA
{@Address}
DataItem
modifiers in the BASIC Stamp Editor's PBASIC Syntax
@Address
20,
directives in the next example program,
DataItem
Distance_List
20,
at specific addresses in the BASIC
argument, and its
{, DataItem ...}
40,
argument. It is used in the two
at EEPROM address 15. The
0
Word
, and it will become a
{Symbol}
Word
modifier in What's a
DataItems
modifier, try the
Word
Figure 3-4
How the DATA
Directive's
Syntax Can
Be Used
name. The
modifier
begin

Related parts for 28139