70016 Parallax Inc, 70016 Datasheet - Page 119

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
Step 4 - Integrate Roaming with Speed Control into the IR Template
By combining IrRoamingWithSpeedControl.bs2 with IrRemoteKeypad.bs2, you can use
the IR remote to adjust the Boe-Bot's speed while it roams.
Check the RAM Map to see how much RAM you are using. The color coding
should show that REG 0 and 1 are word storage variables. It should also show
that REG 2 has a byte and two bit variables, as shown on the left in Figure 3-3.
Comment the
Replace all instances of
Be careful here, the result of your first substitution should be:
Replace all 4 instances of
Again, the result of your first of four substitutions should be:
PULSOUT 12, 750 + speed
Comment out the two
program (by inserting an apostrophe to the left of each of the two commands).
Save, run, and test the modified program. Trouble-shoot as needed.
Open the Memory Map again, and verify that only a byte and two bit variables
are allocated to
PULSOUT 13, 750 - speed
pulseLeft
REG 0,
PULSOUT
pulseLeft =
as shown on the right in Figure 3-3.
pulseRight =
and
pulseRight
commands that come after the
with
with
variable declarations.
PULSOUT 13
PULSOUT 12
Figure 3-3
The RAM Map portion of the
Memory Map
IrRoamingWithSpeedControl.bs2
(left)
Modified Your Turn version
(right)
, .
, .
ENDIF
in the

Related parts for 70016