70016 Parallax Inc, 70016 Datasheet - Page 195
70016
Manufacturer Part Number
70016
Description
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet
1.70016.pdf
(212 pages)
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
- Current page: 195 of 212
- Download datasheet (3Mb)
Get_Ir_Byte_Message:
How ReceiveCustomIrMessage.bs2 Works
The Get_Ir_Byte_Message subroutine does the decoding by measuring each low pulse it
gets from the IR receiver and deciding whether it's a start, binary-1, or binary-0 pulse
based on its duration.
DO
LOOP UNTIL irPulse < StartMax AND irPulse > StartMin
FOR counter = 0 TO 7
NEXT
RETURN
PULSIN IrDetPin, 0, irPulse
PULSIN IrDetPin, 0, irPulse
SELECT irPulse
CASE Bin1Min TO Bin1Max
CASE Bin0Min TO Bin0Max
CASE ELSE
ENDSELECT
Get_Ir_Byte_Message:
irMessage.LOWBIT(counter) = 1
irMessage.LOWBIT(counter) = 0
DEBUG "Pulse out of range, ", CR,
GOTO Get_Ir_Byte_Message
DO
LOOP UNTIL irPulse < StartMax AND irPulse > StartMin
FOR counter = 0 TO 7
PULSIN IrDetPin, 0, irPulse
PULSIN IrDetPin, 0, irPulse
SELECT irPulse
CASE Bin1Min TO Bin1Max
CASE Bin0Min TO Bin0Max
CASE ELSE
"trying again...", CR
irMessage.LOWBIT(counter) = 1
irMessage.LOWBIT(counter) = 0
DEBUG "Pulse out of range, ", CR,
Related parts for 70016
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories Breadboard Set
Manufacturer:
Parallax Inc
Part Number:
Description:
Power Entry Modules 4AA Battery Holder
Manufacturer:
Parallax Inc
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: