29122 Parallax Inc, 29122 Datasheet - Page 6

KIT PARTS IR REMOTE FOR BOE-BOT

29122

Manufacturer Part Number
29122
Description
KIT PARTS IR REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 29122

Accessory Type
IR Remote
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
' SONY VCR IR remote constants
' IMPORTANT: Before you can make use of these constants, you must
' also follow the universal remote instructions to set your remote
' to control a SONY VCR.
' test several.
VcrStop
VcrPause
VcrPlay
VcrRewind
VcrFastForward CON
VcrRecord
' Function keys
FnSleep
FnMenu
' -----[ Variables ]-------------------------------------------------------
' SONY TV IR remote variables
irPulse
remoteCode
' -----[ Initialization ]--------------------------------------------------
DEBUG "Press/release remote buttons..."
' -----[ Main Routine ]----------------------------------------------------
' Replace this button testing DO...LOOP with your own code.
DO
Page 6 of 10
GOSUB Get_Ir_Remote_Code
DEBUG CLS, "Remote button: "
SELECT remoteCode
CASE 0 TO 9
CASE Enter
CASE ChUp
CASE ChDn
DEBUG DEC remoteCode
DEBUG "ENTER"
DEBUG "CH+"
CON
CON
CON
CON
CON
CON
CON
VAR
VAR
24
25
26
27
28
29
54
96
Word
Byte
Not all remote codes work,
© 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004
' Stores pulse widths
' Stores remote code
' Main DO...LOOP
' Call remote code subroutine
' Heading
' Select message to display
so you may have to

Related parts for 29122