70016 Parallax Inc, 70016 Datasheet - Page 36

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
DO
LOOP
How RecordAndDisplayPwm.bs2 Works
The
also uses a nibble variable named
A single
the information to be displayed.
DO
LOOP UNTIL time(0) > 1000
PULSIN 9, 0, time(0)
PULSIN 9, 0, time(1)
PULSIN 9, 0, time(2)
PULSIN 9, 0, time(3)
PULSIN 9, 0, time(4)
PULSIN 9, 0, time(5)
PULSIN 9, 0, time(6)
PULSIN 9, 0, time(7)
PULSIN 9, 0, time(8)
PULSIN 9, 0, time(9)
PULSIN 9, 0, time(10)
PULSIN 9, 0, time(11)
FOR index = 0 TO 11
NEXT
PULSIN 9, 1, time(0)
DEBUG CRSRXY, 0, 4 + index, "time(", DEC index, ")",
time
"PWM MEASUREMENTS", CR,
"Element
"-------
time
index
DEBUG "time ARRAY", CR,
DEBUG
variable declaration creates an array with twelve word elements. The program
CRSRXY, 9, 4 + index, DEC time(index), CLREOL
"PWM MEASUREMENTS", CR,
"Element
"-------
command with lots of text and arguments creates column headings for
Duration, 2-us", CR,
--------------"
VAR
VAR
Duration, 2-us", CR,
--------------"
Word(12)
Nib
index
.
' Beginning of main loop.
' Wait for rest between messages.
' Measure/store data pulses.
' Display 12 pulse measurements.
' Repeat main loop.

Related parts for 70016