28125 Parallax Inc, 28125 Datasheet - Page 117

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
' Robotics with the Boe-Bot - RightServoTest.bs2
' Right servo turns clockwise three seconds, stops 1 second, then
' counterclockwise three seconds.
' {$STAMP BS2}
' {$PBASIC 2.5}
DEBUG "Program Running!"
counter
FOR counter = 1 TO 122
NEXT
FOR counter = 1 TO 40
NEXT
FOR counter = 1 TO 122
NEXT
END
PULSOUT 12, 650
PAUSE 20
PULSOUT 12, 750
PAUSE 20
PULSOUT 12, 850
PAUSE 20
If the right wheel/servo does not behave as predicted, see the Servo Trouble
Shooting section. It comes right after RightServoTest.bs2.
If the right wheel/servo does behave properly, then move on to the Your Turn
section, where you will test the left wheel.
VAR
Word
' Clockwise just under 3 seconds.
' Stop one second.
' Counterclockwise three seconds.

Related parts for 28125