Parallax Boe-Bot Student Manual page 117

Hide thumbs Also See for Boe-Bot:
Table of Contents

Advertisement

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.
' 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
VAR
FOR counter = 1 TO 122
PULSOUT 12, 650
PAUSE 20
NEXT
FOR counter = 1 TO 40
PULSOUT 12, 750
PAUSE 20
NEXT
FOR counter = 1 TO 122
PULSOUT 12, 850
PAUSE 20
NEXT
END
Chapter 3: Assemble and Test Your Boe-Bot · Page 103
Word
' Clockwise just under 3 seconds.
' Stop one second.
' Counterclockwise three seconds.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Boe-Bot and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF