28139 Parallax Inc, 28139 Datasheet - Page 134

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
' Modified main routine from 7BitRemoteBoeBot.bs2
' goes here.
GOSUB Get_Ir_Remote_Code
' Check for POWER button.
' send PULSOUT durations for the various maneuvers based on
' the value of the remoteCode variable.
SELECT remoteCode
CASE Power
CASE 2, ChUp
CASE 4, VolDn
CASE 6, VolUp
CASE 8, ChDn
CASE 1
CASE 3
CASE 7
CASE 9
CASE ELSE
FREQOUT Speaker, 100, 3500
PAUSE 100
FREQOUT Speaker, 100, 3500
PAUSE 200
DEBUG "Select operation mode...", CR
GOSUB Get_Ir_Remote_Code
operation = remoteCode
DEBUG ? operation, CR,
FREQOUT Speaker, 100, 3500
PAUSE 100
FREQOUT Speaker, 100, 3500
PAUSE 200
PULSOUT 13, 850
PULSOUT 12, 650
PULSOUT 13, 650
PULSOUT 12, 650
PULSOUT 13, 850
PULSOUT 12, 850
PULSOUT 13, 650
PULSOUT 12, 850
PULSOUT 13, 750
PULSOUT 12, 650
PULSOUT 13, 850
PULSOUT 12, 750
PULSOUT 13, 750
PULSOUT 12, 850
PULSOUT 13, 650
PULSOUT 12, 750
PULSOUT 13, 750
"Running...", CR
If yes, get remote code; otherwise,
' Forward
' Rotate Left
' Rotate Right
' Backward
' Pivot Fwd-left
' Pivot Fwd-right
' Pivot Back-left
' Pivot Back-right
' Hold Position
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New

Related parts for 28139