70016 Parallax Inc, 70016 Datasheet - Page 73

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
You will be saving many copies of this file, and then modifying these copies to perform a
variety of Boe-Bot functions.
Let’s modify a copy of IrRemoteButtons.bs2 to print out descriptions of keys that aren’t
numeric. To test the remote, the
program recognizes all the different keys. Remember,
a variable and evaluate it on a case by case basis. You can use single values, a list of
values separated by commas, or a range of values.
Use the File → Save As menu to save a copy of this program. Use the name
TestIrRemoteButtons.bs2.
Replace the existing main routine with this code block:
DO
LOOP
GOSUB Get_Ir_Remote_Code
DEBUG CLS, "Remote code: "
SELECT remoteCode
ENDSELECT
DEBUG CLREOL
CASE 0 TO 9
CASE Enter
CASE ChUp
CASE ChDn
CASE VolUp
CASE VolDn
CASE Power
CASE ELSE
DEBUG DEC remoteCode
DEBUG "ENTER"
DEBUG "CH+"
DEBUG "CH-"
DEBUG "VOL+"
DEBUG "VOL-"
DEBUG "POWER"
DEBUG DEC remoteCode, " (unrecognized)"
SELECT…CASE
statement will be used to make sure the
SELECT…CASE
allows you to select

Related parts for 70016