70016 Parallax Inc, 70016 Datasheet - Page 151
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: 151 of 212
- Download datasheet (3Mb)
You will need to declare another byte variable named
routine. Aside from that, the next example program is how your code should look after
the modifications.
Example Program – DebugRecordPlaybackWithMenu.bs2
' -----[ Title ]-----------------------------------------------------------
' IR Remote for the Boe-Bot - DebugRecordPlaybackWithMenu.bs2
' Use the Debug Terminal to select between record and playback modes.
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ EEPROM Data ]-----------------------------------------------------
' -----[ Variables ]-------------------------------------------------------
' -----[ Main Routine ]----------------------------------------------------
DO
Maneuver_List
Distance_List
direction
distance
eeIndex
operation
DEBUG CLS,
DEBUGIN operation
DEBUG CR
IF (operation = "R") THEN
√
√
√
√
√
√
Save DebugRecordPlaybackFiltered.bs2 as
DebugRecordPlaybackWithMenu.bs2.
Modify it so that it matches the one below.
Run it.
Use the Debug Terminal to verify that you can type "R" to record directions and
distances and "P" to play them back.
Verify also that any other character will cause the message "Invalid character, try
again" to appear.
Save your program.
"R = Record", CR,
"P = Play back", CR,
"Choose operation: "
VAR
VAR
VAR
VAR
DATA
DATA
Byte
Byte
Byte
Byte
@ 15
@ 35
operation
to support this main
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: