28139 Parallax Inc, 28139 Datasheet - Page 54

KIT REMOTE IR FOR BOE-BOT W/TEXT

28139

Manufacturer Part Number
28139
Description
KIT REMOTE IR FOR BOE-BOT W/TEXT
Manufacturer
Parallax Inc
Datasheets

Specifications of 28139

Accessory Type
IR Remote
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
P2. Start with 4BitRemoteBoeBot.bs2.
P3. Begin with 4BitRemoteBoeBot.bs2.
LOOP
√ Add this variable declaration:
√ Delete these two
√ Replace them with this
of 76.
√ Increase the time array to 5 elements.
√ Add a fifth
√ Change the
√ Before the
DEBUG "time(0) = ",
counter
PULSOUT 13, 750
PULSOUT 12, 750
FOR counter = 1 TO 76
NEXT
IF (time(4) > 500) THEN
DEC time(0) * 2,
" us", CR
PULSOUT 13, 650
PULSOUT 12, 650
PAUSE 20
IF (time(1) < 500) AND
ELSEIF (time(1) < 500) AND (time(0) > 500) THEN
ELSEIF (time(1) > 500) AND (time(0) < 500) THEN
ELSEIF (time(1) > 500) AND (time(0) > 500) THEN
ENDIF
PULSOUT 13, 850
PULSOUT 12, 650
PULSOUT 13, 650
PULSOUT 12, 850
PULSOUT 13, 850
PULSOUT 12, 850
PULSOUT 13, 650
PULSOUT 12, 650
ELSEIF
PULSIN
IF
statement to
VAR Byte
PULSOUT
statement (that you just changed from
command to load
FOR…NEXT
commands:
ELSEIF
loop. You will have to tune the
(time(0) < 500) THEN
.
time(4).
' Display time in us
' Repeat main loop
IF
) add this code:
EndValue

Related parts for 28139