28139 Parallax Inc, 28139 Datasheet - Page 139

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
variable. This
a different routine.
Your Turn – Fixing Bugs and Adding Comments
This program gets lost if you press the POWER key, then a number key other than 1, 2, or
3. Let's say
program just keeps repeating the
not finding it. The solution for this is to add a statement that catches all the potential
values of
operation
Before modifying this program, test it by pressing POWER then any digit on the
keypad other than 1, 2, or 3. Verify that there is nothing you can do with the
remote to bring the Boe-Bot back to life. (You can press and release the RESET
button on your board, but you're out of luck because there's not remote button
you can use to wake the Boe-Bot back up.)
Locate the last three commands in the Main Routine, they should look like this:
LOOP
Add the
listen for commands from the remote, regardless of what the value of
is.
LOOP
Test your modified program and make sure the Boe-Bot no longer gets confused
when you set the operation variable to a value other than 1, 2, or 3.
Save your work!
operations
ENDSELECT
ENDSELECT
variable with the remote. One way to do this is with a
CASE ELSE
operation
CASE
GOSUB Send_Pulse
GOSUB Send_Pulse
IF (IN9 = 0) THEN operation = 1
CASE ELSE
statement contains commands that make it possible for you to select
and sends them back to the routine that allows you to select the
is set to 4. In this case, there is no
statement shown below. This will cause the program to
DO…LOOP
over and over again looking for
' <--- New
' <--- New
CASE
CASE ELSE
statement, so the
CASE 4
operation
statement.
, and

Related parts for 28139