28139 Parallax Inc, 28139 Datasheet - Page 148

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
' -----[ Title ]-----------------------------------------------------------
' IR Remote for the Boe-Bot - DebugRecordPlayback.bs2
' Use Debug Terminal to Store a list of values to EEPROM, then retrieve
' and display them.
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ EEPROM Data ]-----------------------------------------------------
' -----[ Variables ]-------------------------------------------------------
' -----[ Main Routine ]----------------------------------------------------
' Routine - Record Instructions
' Routine - Play Back Instructions
Maneuver_List
Distance_List
direction
distance
eeIndex
eeIndex = 0
DO UNTIL (eeIndex = 19)
LOOP
DEBUG CR, CR
eeIndex = 0
direction = 0
DO UNTIL (eeIndex = 19)
DEBUG CR, "F, B, R, L, Q", CR,
DEBUGIN direction
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
READ Maneuver_List + eeIndex, direction
"Enter Direction: "
VAR
VAR
VAR
DATA
DATA
Byte
Byte
Byte
@ 15
@ 35

Related parts for 28139