70016 Parallax Inc, 70016 Datasheet - Page 81

TEXT INFRARED REMOTE FOR BOE-BOT

70016

Manufacturer Part Number
70016
Description
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 70016

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
For Use With
29122 - KIT PARTS IR REMOTE FOR BOE-BOT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
70016SE
Manufacturer:
ST
0
LOOP
' -----[ Subroutine - Get_Ir_Remote_Code ]---------------------------------
' SONY TV IR remote subroutine loads the remote code into the
' remoteCode variable.
Get_Ir_Remote_Code:
' the value of the remoteCode variable.
SELECT remoteCode
ENDSELECT
remoteCode = 0
' Wait for resting state between messages to end.
DO
LOOP UNTIL irPulse > 1000
' Measure start pulse.
CASE 2, ChUp
CASE 4, VolDn
CASE 6, VolUp
CASE 8, ChDn
CASE 1
CASE 3
CASE 7
CASE 9
CASE ELSE
RCTIME IrDet, 1, irPulse
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
PULSOUT 12, 750
If out of range, then retry at Get_Ir_Remote_Code.
' Forward
' Rotate Left
' Rotate Right
' Backward
' Pivot Fwd-left
' Pivot Fwd-right
' Pivot Back-left
' Pivot Back-right
' Hold Position
' Clear all bits in remoteCode

Related parts for 70016