70016 Parallax Inc, 70016 Datasheet - Page 155

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
' -----[ EEPROM Data ]------------------------------------------------
' Set aside data for lists of Maneuver_List and Distance_List.
Maneuver_List DATA @ 15
Distance_List DATA @ 35
Copy these declarations into the Pin Definitions section:
' Boe-Bot Servo Pins
ServoLeft
ServoRight
Copy these declarations into the Variables section:
' Boe-Bot navigation variables
direction
counter
eeIndex
Replace the
DO
If you examine this next
and structure as the main routine from DebugRecordBoeBotPlayback.bs2.
DEBUG "Press POWER to record", CR,
GOSUB Get_Ir_Remote_Code
IF remoteCode = Power THEN
' Routine - Record data
GOSUB Beep_Valid
eeIndex = 0
DO UNTIL eeIndex = 19
DEBUG "Menu: ", CR,
"or ENTER to playback", CR, CR
DO…LOOP
"
"
"
"
"
PIN
PIN
VAR
VAR
VAR
CH+
CH-
VOL+
VOL-
ENTER = Done recording", CR, CR
in the main routine with this one.
DO…LOOP
= Forward", CR,
= Backward", CR,
= Right", CR,
= Left", CR,
13
12
Byte
Word
Byte
closely, you will see that it has the same overall function
' 20 bytes for Maneuver_List.
' 20 bytes for Distance_List.

Related parts for 70016