70016 Parallax Inc, 70016 Datasheet - Page 101
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: 101 of 212
- Download datasheet (3Mb)
How KeypadDirectionDistance.bs2 Works
Two variables have to be added to IrRemoteKeypad.bs2, one for storing the Boe-Bot's
direction, and the other for counting the number of pulses in a
The first command inside the main
CH/VOL direction.
The program calls the
remoteCode
some button that's not CH+/- or VOL+/- is pressed, the
lower pitched error beep along with a Debug Terminal prompt to press one of the CH or
VOL buttons.
After the
Bot with the remote is stored in the
in a different variable before another IR message is processed; otherwise, the value will
be lost. That's why the direction value stored in
variable, which is conveniently named
The right button had to have been pressed for the program to have exited the
that calls the
which makes the higher pitched acknowledgement beep to let you know the right key was
pressed.
' Boe-Bot navigation variables
direction
counter
Get_Ir_Remote_Code
DEBUG "Select direction (CH/VOL):", CR
DO
LOOP UNTIL (remoteCode >= ChUp) AND (remoteCode <= VolDn)
direction = remoteCode
GOSUB Get_Ir_Remote_Code
IF (remoteCode < ChUp) OR (remoteCode > VolDn) THEN
ENDIF
that falls between
Get_Ir_Remote_Code
DEBUG "Select direction (CH/VOL):", CR
GOSUB Beep_Error
Get_Ir_Remote_Code
VAR
VAR
ChUp
subroutine is called, the direction you sent to the Boe-
Byte
Byte
remoteCode
(16) and
. The program calls the
DO…LOOP
direction
VolDn
subroutine over and over again, until a
is a
remoteCode
variable. This value needs to get stored
.
(19) is received from the remote. If
DEBUG
IF…THEN
command prompting for a
FOR…NEXT
has to be copied to another
Beep_Valid
statement delivers the
loop.
subroutine,
DO…LOOP
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: