70016 Parallax Inc, 70016 Datasheet - Page 144
70016
Manufacturer Part Number
70016
Description
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet
1.70016.pdf
(212 pages)
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
- Current page: 144 of 212
- Download datasheet (3Mb)
The second time through, eeIndex will be 1 while Maneuver_List is still 15. The READ
command fetches the "L" stored at address 16 and stores it in the direction variable. The
third time through the loop, eeIndex is 2, so the Location expression evaluates to 17, and
"R" is stored in the direction variable.
The same principle applies to the second READ command, except that Distance_List is
35, so the first time through, the value 40 is fetched from EEPROM and stored in
distance, the second time through, 20, the third time through, another 20, and so on.
Example Program – DebugPlayback.bs2
This example program stores values in the BASIC Stamp's EEPROM with the
directive, then retrieves and displays these items with the
' -----[ Title ]-----------------------------------------------------------
' IR Remote for the Boe-Bot - DebugPlayback.bs2
' Fetch and display DataItems from a pair of DATA directives.
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ EEPROM Data ]-----------------------------------------------------
' -----[ Variables ]-------------------------------------------------------
' -----[ Main Routine ]----------------------------------------------------
Maneuver_List
Distance_List
direction
distance
eeIndex
' Playback routine
eeIndex = 0
DO UNTIL (direction = "Q") OR (eeIndex = 19)
√
READ Maneuver_List + eeIndex, direction
READ Distance_List + eeIndex, distance
DEBUG direction, "
Enter and run DebugPlayback.bs2.
VAR
VAR
VAR
DATA
DATA
Byte
Byte
Byte
", DEC distance, CR
@ 15,
@ 35,
"F", "L", "R", "B", "Q"
40,
20,
20,
40,
READ
0
command.
DATA
Related parts for 70016
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories Breadboard Set
Manufacturer:
Parallax Inc
Part Number:
Description:
Power Entry Modules 4AA Battery Holder
Manufacturer:
Parallax Inc
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: