28139 Parallax Inc, 28139 Datasheet - Page 146

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
While the
WRITE
syntax from the PBASIC Syntax guide:
Here is the
DebugPlaybackYourTurn.bs2, you can build your own list of characters in EEPROM
during runtime.
This code block will allow you to set the values of the
variables with the Debug Terminal's Transmit Windowpane. Each of these values will be
stored in EEPROM with the
retrieved from EEPROM in DebugPlayback.bs2.
Let's take a closer look at the two
command stores a
WRITE Location, {Word} DataItem {, {Word} DataItem ...}
' Routine - Record Instructions
eeIndex = 0
DO UNTIL (eeIndex = 19)
LOOP
READ
DO…LOOP
DEBUG CR, "F, B, R, L, Q", CR,
DEBUGIN direction
WRITE Maneuver_List + eeIndex, direction
IF direction = "Q" THEN
ENDIF
DEBUG CR, "Enter distance: "
DEBUGIN DEC distance
WRITE Distance_List + eeIndex, distance
eeIndex = eeIndex + 1
WRITE Maneuver_List + eeIndex, direction
WRITE Distance_List + eeIndex, distance
DEBUG CR, CR
EXIT
command retrieves a
"Enter Direction: "
that stores instructions with
DataItem
WRITE
WRITE
to a
command in the same manner that they were
DataItem
commands in the loop:
Location
WRITE
from a
. Here is the
commands. By adding this to
Location
direction
WRITE
in EEPROM, the
and
command's
distance

Related parts for 28139