70016 Parallax Inc, 70016 Datasheet - Page 23

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
Inside the
measures pulses. Whenever a pulse duration is between 975 (1.95 ms) and 1425 (2.85
ms), the
counter
Your Turn – Measuring the Binary-1 and Binary-0 Pulses
By modifying the
capture and display the duration the binary-1 and binary-0 pulses. Here's how to:
time
counter
DEBUG "START PULSES", CR,
DO
LOOP
Save CountStartPulses.bs2 as MeasureBinary1Pulses.bs2.
IF…THEN…ENDIF
and
PULSIN 9, 0, time
IF (time > 975) AND (time < 1425) THEN
ENDIF
What's the * 2 in the
measures duration in 2 µs units. That's what gets stored in the
of 2 µs units the
operator, the
measurement.
DO…LOOP
counter = counter + 1
DEBUG CRSRXY, 0, 4,
time
"Repetitions
"
"-----------
variables under the
, the program executes the command
DEC counter,
CRSRXY, 13, 4,
DEC5 time * 2
DEBUG
DEBUG
code block increments the
PULSIN
and
VAR
VAR
command displays the actual number of microseconds for the pulse
Current Duration", CR,
(microseconds)
----------------"
IF…THEN
DEBUG
command measured. By multiplying
Word
Word
Repetitions
command?
statement in the example program, you can
Chapter 1: Infrared Remote Communication · Page 13
", CR,
Remember that the
and
counter
Current Duration
PULSIN 9, 0, time
variable and displays the
time
time
variable, the number
PULSIN
by 2 with the
headings.
command
, which
*

Related parts for 70016