28139 Parallax Inc, 28139 Datasheet - Page 169

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
P1. Add these bit declarations to the Variables section of the program.
so that it reads
Grab the IR detection functions from TestIrPairsAndIndicators.bs2 and paste
them into your project program just before the
routine.
Modify this
ENTER a second time exits programming mode.
ENTER a third time makes the Boe-Bot execute the maneuvers.
irDetectLeft
irDetectRight
FREQOUT 8, 1, 38500
irDetectLeft = IN9
FREQOUT 2, 1, 38500
irDetectRight = IN0
CASE 2, ChUp
CASE 2, ChUp
PULSOUT 13, 850
PULSOUT 12, 650
IF (irDetectLeft = 1) AND (irDetectRight = 1) THEN
ELSE
ENDIF
PULSOUT 13, 850
PULSOUT 12, 650
FREQOUT Speaker, 3, 4500
CASE
statement:
VAR
VAR
Bit
Bit
SELECT
statement in the main

Related parts for 28139