28139 Parallax Inc, 28139 Datasheet - Page 152

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
' Routine - Play Back Instructions
ELSEIF (operation = "P") THEN
eeIndex = 0
direction = 0
DO UNTIL (eeIndex = 19)
' Routine - Record Instructions
eeIndex = 0
direction = 0
DO UNTIL (eeIndex = 19)
LOOP
DEBUG CR
READ Maneuver_List + eeIndex, direction
READ Distance_List + eeIndex, distance
IF direction = "Q" THEN EXIT
DEBUG direction, "
DO
LOOP
WRITE Maneuver_List + eeIndex, direction
IF (direction = "Q") THEN EXIT
DEBUG CR, "Enter distance: "
DEBUGIN DEC distance
WRITE Distance_List + eeIndex, distance
eeIndex = eeIndex + 1
DEBUG CR, "F, B, R, L, Q", CR,
DEBUGIN direction
SELECT direction
ENDSELECT
CASE "F", "B", "R", "L", "Q"
CASE ELSE
EXIT
DEBUG CR, "Invalid character", CR
"Enter Direction: "
", DEC distance, CR

Related parts for 28139