70016 Parallax Inc, 70016 Datasheet - Page 150

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
Step 5 - Nest the Store and Retrieve Routines in a Loop with Menu Options
The EEPROM storage and retrieval routines are working pretty well now. In this
activity, you will modify the program so that it gives you the choice of "R" for record or
"P" for playback. These characters can be used to choose between the record and
playback routines. Here is an example of the shell that contains your record and playback
routines:
with this code block:
Re-run the program and verify that it only accepts the characters: "F", "B", "R",
"L", and "Q".
Save the modified program.
DO
LOOP
DEBUG CLS,
DEBUGIN operation
DEBUG CR
IF (operation = "R") THEN
ELSEIF (operation = "P") THEN
ENDIF
' Routine - Play Back Instructions
DO
LOOP
' Routine - Record Instructions
DEBUG CR, "F, B, R, L, Q", CR,
DEBUGIN direction
SELECT direction
ENDSELECT
CASE "F", "B", "R", "L", "Q"
CASE ELSE
"R = Record", CR,
"P = Play back", CR,
"Choose operation: "
EXIT
DEBUG CR, "Invalid character", CR
"Enter Direction: "

Related parts for 70016