28125 Parallax Inc, 28125 Datasheet - Page 101

TEXT ROBOTICS

28125

Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28125

Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
Exercises
Projects
1. Write a
2. Modify this
1. Write a program that causes the LED connected to P14 to light dimly (on/off
2. Write a program that takes the servos through three seconds of each of the four
PBASIC commands? What are the command and argument that you can adjust
to control a continuous rotation servo’s speed and direction?
seconds.
write the variable declaration you will need to make this program work.
with every pulse) while the P12 servo is turning.
different combinations of rotation. Hint: you will need four different
loops. First, both servos should rotate counterclockwise, then they should both
rotate clockwise. Then, the P12 servo should rotate clockwise as the P13 servo
rotates
counterclockwise while the P13 servo rotates clockwise.
FOR counter = 9 TO 21
NEXT
counterclockwise,
PAUSE
DEBUG ? counter
PAUSE 500
FOR…NEXT
command that makes the BASIC Stamp do nothing for 10
loop so that it counts from 6 to 24 in steps of 3. Also,
and
finally,
the
P12
servo
should
FOR…NEXT
rotate

Related parts for 28125