70016 Parallax Inc, 70016 Datasheet - Page 148

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
' -----[ 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 70016