28139 Parallax Inc, 28139 Datasheet - Page 43

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
LOOP
Your Turn – Explaining Why CH/VOL and 1-3 Do the Same Thing
ACTIVITY #5: ADDING FEATURES TO YOUR SIMPLE IR BOE-BOT
2BitRemoteBoeBot.bs2 can be expanded to perform more maneuvers. Figure 1-16
shows a drawing of the IR remote's keypad with maneuvers assigned to each key.
Getting almost all these functions completed is easy, but it takes a little extra work to
finish the job. In later activities, you will be introduced to a more universal way to add
and remove button/key functions with much less work.
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, 650
PULSOUT 12, 850
PULSOUT 13, 850
PULSOUT 12, 850
PULSOUT 13, 650
PULSOUT 12, 650
Go back to Table 1-1 on page 29 and compare the pulse durations in the
time(1)
and VOL- .
Now, explain why these keys cause the Boe-Bot to perform the same function.
Take a look at the
difference between the CH+ and 1 keys.
and
time(0)
time(4)
rows for 1 and CH+ , 2 and CH- , 3 and VOL+ , and finally 4
column, and explain how a SONY TV can tell the
Chapter 1: Infrared Remote Communication · Page 33
' Backward
' Right rotate
' Left rotate
' Repeat main loop.

Related parts for 28139