70016 Parallax Inc, 70016 Datasheet - Page 34

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
The next example program will not use a loop to set each of the
values. Because the time between the pulses sent by the remote is very small, the extra
code overhead involved in a
each array element value will be set sequentially with twelve
Example Program: RecordAndDisplayPwm.bs2
This example program measures and displays the durations of all twelve data pulses.
Figure 1-14 shows an example of what's displayed when the remote's 5 key is pressed and
held. You can use this program to examine the pulse patterns for each key on your
remote. Keep in mind that some of the keys are not for TV sets, such as play and pause,
which would work with a VCR. These keys do not cause the remote to send messages
when it's configured to function as a SONY TV controller.
PULSIN 9, 0, time(0)
PULSIN 9, 0, time(1)
PULSIN 9, 0, time(2)
PULSIN 9, 0, time(11)
Whenever you see three dots between commands it means there are elements in the
sequence that were left out to keep the explanation shorter.
sequence of
indicates that
there, but not shown.
FOR…NEXT
beginning and ending keywords.
between the keywords that are not shown.
Remember not to press the VCR, TV/VCR, or CBL keys. If you do by mistake, press the
TV key to get back to SONY TV controller mode.
,
PULSIN
DO…LOOP
PULSIN 9, 0, time(3)
FOR…NEXT
commands, the
, and other statements that have code blocks in between the
Three dots … are also used to describe commands such as
loop could cause the program to miss pulses. So
The … indicates there are one or more commands
through
PULSIN 9, 0, time(10)
PULSIN
time
commands.
For example, in the
array element
were

Related parts for 70016