70016 Parallax Inc, 70016 Datasheet - Page 139

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
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 70016