28139 Parallax Inc, 28139 Datasheet - Page 109

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
' Boe-Bot control bit
mute
Add this declaration to the Constants section:
MuteCode CON 20
Add a bit variable to the Variables section. Name it
Add this command to the Initialization that sets
' -----[ Initialization ]------------------------
mute = 1
Add this command between the
the
IF (mute = 0) AND (remoteCode <> MuteCode) THEN
ENDIF
Add a
Comment the two
CASE MuteCode
remoteCode = 127
FREQOUT 4, 50, 4000
PAUSE 50
FREQOUT 4, 50, 4000
PAUSE 300
mute = ~ mute
SELECT
CASE
VAR
statement:
to the
PULSOUT
Bit
SELECT…CASE
commands below the
code block that reads:
Get_Ir_Remote_Code
mute
CASE ELSE
mute
to 1.
subroutine call and
.
statement.

Related parts for 28139