70016 Parallax Inc, 70016 Datasheet - Page 181

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
DO
LOOP
' -----[ Subroutine - Get_Ir_Remote_Code ]---------------------------------
' SONY TV IR remote subroutine loads the remote code into the
' remoteCode variable.
Get_Ir_Remote_Code:
GOSUB Get_Ir_Remote_Code
DEBUG CLS, "Remote button: "
SELECT remoteCode
ENDSELECT
remoteCode = 0
#SELECT $STAMP
CASE 0 TO 9
CASE Enter
CASE ChUp
CASE ChDn
CASE VolUp
CASE VolDn
CASE Mute
CASE Power
CASE TvLast
CASE ELSE
#CASE BS2, BS2E, BS2PE
' Wait for resting state between messages to end.
DEBUG DEC remoteCode
DEBUG "ENTER"
DEBUG "CH+"
DEBUG "CH-"
DEBUG "VOL+"
DEBUG "VOL-"
DEBUG "MUTE"
DEBUG "POWER"
DEBUG "LAST"
DEBUG DEC remoteCode, " (unrecognized)"
DO
LOOP UNTIL irPulse > ThresholdStart
' Measure start pulse.
' Get_Ir_Remote_Code label.
RCTIME 9, 0, irPulse
IF irPulse > OverStart OR irPulse < UnderStart THEN Get_Ir_Remote_Code
' Get data bit pulses.
RCTIME IrDet, 1, irPulse
If out of range, then retry at
Appendix A: IR Remote AppKit Documentation · Page 171
' Main DO...LOOP
' Call remote code subroutine
' Heading
' Select message to display
' Repeat main DO...LOOP

Related parts for 70016