70016 Parallax Inc, 70016 Datasheet - Page 194

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
variable. Also,
defined as 1 in the constant declarations.) This ensures at least a 1 ms delay between data
bit pulses.
Example Program: ReceiveCustomIrMessage.bs2
' -----[ Title ]-----------------------------------------------------------
' IR Remote for the Boe-Bot - ReceiveCustomIrMessage.bs2
' Receives and decodes IR message with the custom protocol developed
' in IR Remote with the Boe-Bot, Appendix B.
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ I/O Definitions ]-------------------------------------------------
IrDetPin
' -----[ Constants ]-------------------------------------------------------
StartMax
StartMin
Bin1Max
Bin1Min
Bin0Max
Bin0Min
' -----[ Variables ]-------------------------------------------------------
counter
irPulse
duration
irMessage
' -----[ Initialization ]--------------------------------------------------
DO: LOOP UNTIL IrDetPin = 1
' -----[ Main Routine ]----------------------------------------------------
DO
LOOP
' -----[ Subroutine - Get_Ir_Byte_Message ]--------------------------------
GOSUB Get_IR_Byte_Message
DEBUG "Received: ", irMessage, CR
PIN
CON
CON
CON
CON
CON
CON
VAR
VAR
VAR
VAR
PAUSE BtwnPulses
9
1700
1300
1200
800
700
300
Nib
Word
Nib
Byte
delays the program for 1 ms. (
BtwnPulses
is

Related parts for 70016