28139 Parallax Inc, 28139 Datasheet - Page 97

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
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ I/O Definitions ]-------------------------------------------------
' SONY TV IR remote declaration - input receives from IR detector
IrDet
Speaker
' Boe-Bot Servo Pins
ServoLeft
ServoRight
' -----[ Constants ]-------------------------------------------------------
' SONY TV IR remote constants for non-keypad buttons.
Enter
ChUp
ChDn
VolUp
VolDn
Power
' -----[ Variables ]-------------------------------------------------------
' SONY TV IR remote variables
irPulse
remoteCode
value
' Boe-Bot navigation variables
direction
counter
' -----[ Initialization ]--------------------------------------------------
DEBUG "Program Starting...", CR, CR
FREQOUT Speaker, 2000, 3000
DEBUG "Use CH/VOL for direction,", CR,
' -----[ Main Routine ]----------------------------------------------------
"then type distance (up to ", CR,
"255) then press ENTER.", CR, CR
PIN
PIN
PIN
PIN
CON
CON
CON
CON
CON
CON
VAR
VAR
VAR
VAR
VAR
9
4
13
12
11
16
17
18
19
21
Word
Byte
Word
Byte
Byte
' Single-digit remote variables
' Stores multi-digit value
' Start/reset indicator.
' Debug instructions.

Related parts for 28139