28139 Parallax Inc, 28139 Datasheet - Page 170

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
P2. Add case statements to the outer
for each function. Remember to update the menu list in the Initialization routine.
DO
SELECT operation
CASE 1
CASE 2
CASE 3
' If operation is 4, put Boe-Bot in servo centering mode.
CASE 4
' If operation is 5, run slow roaming routine for the lead Boe-Bot
CASE 5
IF IN9 = 0 THEN operation = 1
pulseLeft = 750
pulseRight = 750
GOSUB Send_Pulse
' Modified main routine from FastIrRoaming.bs2 goes here.
IF IN9 = 0 THEN operation = 1
FREQOUT 8, 1, 38500
irDetectLeft = IN9
FREQOUT 2, 1, 38500
irDetectRight = IN0
IF (irDetectLeft = 0) AND (irDetectRight = 0) THEN
ELSEIF (irDetectLeft = 0) THEN
ELSEIF (irDetectRight = 0) THEN
TOGGLE 1
TOGGLE 10
pulseLeft = 725
pulseRight = 775
TOGGLE 10
pulseLeft = 775
pulseRight = 775
SELECT…CASE
in the Main Routine's
' Check IR Detectors
' Decide how to navigate.
DO…LOOP

Related parts for 28139