70016 Parallax Inc, 70016 Datasheet - Page 74

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
NOTE: Remotes typically use LAST and PREV CH for the same function, to cause the TV
to switch to the channel that was previously viewed.
How IrRemoteButtons.bs2 Works
This
can now use the name
command, so instead of
IrPulse
These constant names can be used in place of the keypad values. This allows you to
make decisions on the value from the infrared remote with meaningful names such as
Enter
IF…THEN
to use
PIN
IF (remoteCode = Enter) THEN
instead of 11 and
Run TestIrRemoteButtons.bs2 and test the remote's keypad keys as well as the
other buttons listed in the constant declarations section.
Try the MUTE , and LAST/PREV CH keys, what happened? The Your Turn portion
of this activity will give you some hints for solving this.
' -----[ I/O Definitions ]---------------------------------------------
' SONY TV IR remote declaration - input receives from IR detector
IrDet
' -----[ Constants ]---------------------------------------------------
' SONY TV IR remote constants for non-keypad buttons
Enter
ChUp
ChDn
VolUp
VolDn
Power
.
declaration gives a name to the I/O pin that senses the IR detector's output. You
decision depending on whether or not the ENTER key is pressed, it's much better
IrDet
PIN
CON
CON
CON
CON
CON
CON
PULSIN 9, 0, IrPulse
ChUp
in place of
instead of 16. For example, if you want to make an
9
11
16
17
18
19
21
IN9
instead of
. You can also use it as an argument to a
, you can use
IF (remoteCode = 11) THEN
PULSIN IrDet, 0,
.

Related parts for 70016