28139 Parallax Inc, 28139 Datasheet - Page 129

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
' -----[ Subroutine - Send_Pulse ]-------------------------------------
Send_Pulse:
Replace the initialization routine with the one shown here:
' -----[ Initialiazation ]--------------------------------------------
DEBUG "Press POWER to select", CR,
FREQOUT Speaker, 2000, 3000
operation = 1
Modify the Main Routine section to make it like the one below. Although you
can borrow heavily (copy/cut and paste) from the main routines of the programs
you loaded and tested, you will still have to make adjustments to each of the
CASE
Modified
DO
PULSOUT 13,pulseLeft
PULSOUT 12,pulseRight
PAUSE 5
RETURN
SELECT operation
' If operation = 1, execute a modified version of
' 7BitRemoteBoeBot.bs2 that also allows
' you to change the operation variable with the POWER key.
CASE 1
statements below. Modified or new lines will have comments like:
"mode of operation:", CR, CR,
"1 – Remote control 1-9 & CH/VOL", CR,
"2 – Autonomous IR roaming", CR,
"3 – Object find and follow", CR, CR
' 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.
or
<--- New
.
If yes, get remote code; otherwise,
' Initialize to remote.
' <--- New
' <--- New
<---

Related parts for 28139