70016 Parallax Inc, 70016 Datasheet - Page 48
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: 48 of 212
- Download datasheet (3Mb)
' IR Remote for the Boe-Bot - 3BitRemoteBoeBot.bs2
' Control your Boe-Bot with keys 1-8 on a remote set to control a SONY TV.
'{$STAMP BS2}
'{$PBASIC 2.5}
time
FREQOUT 4, 2000, 3000
DEBUG "Press and hold a digit key (1-8)..."
DO
DO
LOOP UNTIL time(0) > 1000
PULSIN 9, 0, time(0)
PULSIN 9, 0, time(1)
PULSIN 9, 0, time(2)
' Decide which maneuver to execute depending on the combination
' of pulse durations stored in the first three pulse measurements.
IF (time(2) < 500) AND (time(1) < 500) AND (time(0) < 500) THEN
ELSEIF (time(2) < 500) AND (time(1) < 500) AND (time(0) > 500) THEN
ELSEIF (time(2) < 500) AND (time(1) > 500) AND (time(0) < 500) THEN
ELSEIF (time(2) < 500) AND (time(1) > 500) AND (time(0) > 500) THEN
ELSEIF (time(2) > 500) AND (time(1) < 500) AND (time(0) < 500) THEN
ELSEIF (time(2) > 500) AND (time(1) < 500) AND (time(0) > 500) THEN
ELSEIF (time(2) > 500) AND (time(1) > 500) AND (time(0) < 500) THEN
ELSEIF (time(2) > 500) AND (time(1) > 500) AND (time(0) > 500) THEN
√
RCTIME 9, 1, time(0)
PULSOUT 13, 750
PULSOUT 12, 650
PULSOUT 13, 850
PULSOUT 12, 650
PULSOUT 13, 850
PULSOUT 12, 750
PULSOUT 13, 650
PULSOUT 12, 650
PULSOUT 13, 750
PULSOUT 12, 750
PULSOUT 13, 850
PULSOUT 12, 850
PULSOUT 13, 750
PULSOUT 12, 850
PULSOUT 13, 650
PULSOUT 12, 850
Explain the problem with the 9 key using Table 1-1 as a reference.
VAR
Word(3)
' SONY TV remote variables.
' Start/reset indicator.
' Beginning of main loop.
' Wait for rest between messages.
' Measure/store data pulses.
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: