70016 Parallax Inc, 70016 Datasheet - Page 154

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 7 – Adapting the Program to the Infrared Remote
At this point, you are now very close to a remote programmed Boe-Bot. You can take
the main routine from Step 6, DebugRecordBoeBotPlayback.bs2, and, after some
adapting, drop it into IrRemoteKeypad.bs2. Here is a list to give you a general idea of
the adaptations that need to be made:
Below is a detailed account of how DebugRecordBoeBotPlayback.bs2 is adapted to and
integrated into IrRemoteKeypad.bs2:
Run the program and verify that you can program and reprogram the Boe-Bot's
motion sequences with the Debug Terminal.
Save your modified program.
GOSUB Get_Ir_Remote_Code
GOSUB Get_Multi_Digit_Value
ChUp
ENTER
POWER
Open IrRemoteKeypad.bs2 and save a copy as
RemoteRecordBoeBotPlayback.bs2.
Update the Title section so that it includes the correct program name, a brief
description, and user instructions:
' -----[ Title ]-------------------------------------------------------
' IR Remote for the Boe-Bot - RemoteRecordBoeBotPlayback.bs2
' Press key sequences to program motion routines into the
' Boe-Bot's EEPROM and replay them.
' Press POWER key to program or ENTER key to play program.
' In programming mode, press a CH/VOL key to choose a maneuver.
' Use the keypad to enter the number of pulses, then press ENTER.
' Pressing ENTER again terminates programming.
' Pressing ENTER a third, fourth, etc time replays the program.
' Press POWER to reprogram.
' {$STAMP BS2}
' {$PBASIC 2.5}
Insert this section between the Stamp/PBASIC directives and the I/O
Definitions.
,
ChDn
is used in place of "Q".
and
ENTER
,
VolUp
are used in place of "P" and "R".
, and
VolDn
is used in place of
are used in place of "F", "B", "R", and "L".
is used in place of
DEBUGIN
DEBUGIN DEC
.
.

Related parts for 70016