70016 Parallax Inc, 70016 Datasheet - Page 143

TEXT INFRARED REMOTE FOR BOE-BOT

70016

Manufacturer Part Number
70016
Description
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 70016

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
For Use With
29122 - KIT PARTS IR REMOTE FOR BOE-BOT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
70016SE
Manufacturer:
ST
0
Here is the syntax for the
Location
Variable
you look up this command in the BASIC Stamp Editor's PBASIC Syntax Guide, it says
this about the
The great thing about Location is that it can be a "variable/constant/expression". An
expression is typically some combination of variables and constants that involve some
math.
Here is an excerpt from the next example program that uses expressions in the
arguments of its
The first READ command adds Maneuver_List (a constant equal to 15) to eeIndex (a
variable who's value is increased by one each time through the DO…LOOP). The first
time through the DO…LOOP, eeIndex will be zero, and Maneuver_List is always 15.
The result is that the READ command fetches the byte stored at EEPROM address 15
and stores it in the direction variable. Since the DATA directive discussed earlier stored
an "F" at address 15, the READ command stores an "F" in the direction variable the first
time through the loop.
READ Location, {Word} Variable {, {Word} Variable, ...}
Location
BASIC Stamp modules) that specifies the EEPROM address to read from.
Variable
eeIndex = 0
DO UNTIL (direction = "Q") OR (eeIndex = 19)
LOOP
is the name of the variable that receives the value fetched from EEPROM. If
is the EEPROM address that stores the value you want to retrieve, and
READ Maneuver_List + eeIndex, direction
READ Distance_List + eeIndex, distance
DEBUG direction, "
PAUSE 200
eeIndex = eeIndex + 1
Location
is a variable (usually a byte) where the value is stored.
READ
is a variable/constant/expression* (0 - 255 on BS1, 0 - 2047 on all other
commands.
and the
READ
Variable
command:
", DEC distance, CR
:
Location

Related parts for 70016