70016 Parallax Inc, 70016 Datasheet - Page 105

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
In place of all that code you just removed from the main routine, add this
subroutine call just before
GOSUB Servo_Pulses
Change the line in the main routine that reads:
so that it reads:
Save, run, and test the program. Verify that it behaves the same as the
implementation.
FOR counter = 1 TO value
NEXT
RETURN
GOTO Servo_Pulses
GOSUB Servo_Pulses
SELECT direction
ENDSELECT
PAUSE 20
CASE ChUp
CASE ChDn
CASE VolUp
CASE VolDn
PULSOUT ServoLeft, 850
PULSOUT ServoRight, 650
PULSOUT ServoLeft, 650
PULSOUT ServoRight, 850
PULSOUT ServoLeft, 850
PULSOUT ServoRight, 850
PULSOUT ServoLeft, 650
PULSOUT ServoRight, 650
LOOP
:
GOTO

Related parts for 70016