28139 Parallax Inc, 28139 Datasheet - Page 98

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
DO
LOOP
' -----[ Subroutine - Get_Ir_Remote_Code ]---------------------------------
DEBUG "Select direction (CH/VOL):", CR
DO
LOOP UNTIL (remoteCode >= ChUp) AND (remoteCode <= VolDn)
direction = remoteCode
GOSUB Beep_Valid
DEBUG "Enter number of pulses: ", CR
GOSUB Get_Multi_Digit_Value
DEBUG "The value is: ", DEC value, CR
DEBUG "Running...", CR, CR
FOR counter = 1 TO value
NEXT
GOSUB Get_Ir_Remote_Code
IF (remoteCode < ChUp) OR (remoteCode > VolDn) THEN
ENDIF
SELECT direction
ENDSELECT
PAUSE 20
DEBUG "Select direction (CH/VOL):", CR
GOSUB Beep_Error
CASE ChUp
CASE ChDn
CASE VolUp
CASE VolDn
PULSOUT ServoLeft, 850
PULSOUT ServoRight, 650
PULSOUT ServoLeft, 650
PULSOUT ServoRight, 850
PULSOUT ServoLeft, 850
PULSOUT ServoRight, 850
PULSOUT ServoLeft, 650
PULSOUT ServoRight, 650

Related parts for 28139