28139 Parallax Inc, 28139 Datasheet - Page 159

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
' Boe-Bot navigation variables
direction
counter
eeIndex
' -----[ Main Routine ]----------------------------------------------------
DO
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,
DO
LOOP
direction = remoteCode
WRITE eeIndex + Maneuver_List, direction
IF (direction = Enter) THEN EXIT
"or ENTER to playback", CR, CR
GOSUB Get_Ir_Remote_Code
SELECT remoteCode
ENDSELECT
CASE ChUp TO VolDn, Enter
CASE ELSE
"
"
"
"
"
GOSUB Beep_Valid
EXIT
DEBUG "Press CH+/-, VOL+/-, or ENTER", CR
GOSUB Beep_Error
VAR
VAR
VAR
CH+
CH-
VOL+
VOL-
ENTER = Done recording", CR, CR
= Forward", CR,
= Backward", CR,
= Right", CR,
= Left", CR,
Byte
Word
Byte

Related parts for 28139