70016 Parallax Inc, 70016 Datasheet - Page 102

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
Another
numeric keypad).
The
keypad to enter the number of pulses to deliver. This is also the part where the value of
the
to another variable. Unlike the
overwritten by anything in the program before the pulses are delivered to the servos. So
value
A
connected to the programming cable). A second
"Running…" while the servos are being pulsed.
The direction is now stored in the
in the
pulses it delivers to the servos. Inside the
the value stored in the
the servos. After the
constant.
DEBUG
remoteCode
Get_Multi_Digit_Value
value
does not need to get copied to another variable; it can store the number of pulses.
DEBUG
command also lets you verify the value you entered (if you leave the Boe-Bot
GOSUB Beep_Valid
DEBUG "Enter number of pulses: ", CR
GOSUB Get_Multi_Digit_Value
DEBUG "The value is: ", DEC value, CR
DEBUG "Running...", CR, CR
FOR counter = 1 TO value
SELECT direction
variable. A
CASE ChUp
CASE ChDn
CASE VolUp
CASE VolDn
command prompts you to enter the number of pulses (using the remote's
value changes, which is why the direction you entered had to be copied
PULSOUT ServoLeft, 850
PULSOUT ServoRight, 650
PULSOUT ServoLeft, 650
PULSOUT ServoRight, 850
PULSOUT ServoLeft, 850
PULSOUT ServoRight, 850
PULSOUT ServoLeft, 650
direction
SELECT…CASE
FOR…NEXT
subroutine call is the part where you use the numeric
remoteCode
direction
variable to decide which pulse durations to deliver to
loop uses the
,
PAUSE 20
FOR…NEXT
variable, and the number of pulses is stored
variable, the
value
DEBUG
keeps the time between servo pulses
loop, a
variable to determine how many
command displays the message
SELECT…CASE
value
variable will not be
statement uses

Related parts for 70016