28125 Parallax Inc, 28125 Datasheet - Page 142

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
NEXT
PAUSE 200
FOR counter = 1 TO 24
NEXT
PAUSE 200
FOR counter = 1 TO 24
NEXT
PAUSE 200
FOR counter = 1 TO 64
NEXT
END
Your Turn - Pivoting
You can make the Boe-Bot turn by pivoting around one wheel. The trick is to keep one
wheel still while the other rotates. For example, if you keep the left wheel still and make
the right wheel turn clockwise (forward), the Boe-Bot will pivot to the left.
If you want to pivot forward and to the right, simply stop the right wheel, and make the
left wheel turn counterclockwise (forward).
PULSOUT 13, 850
PULSOUT 12, 650
PAUSE 20
PULSOUT 13, 650
PULSOUT 12, 650
PAUSE 20
PULSOUT 13, 850
PULSOUT 12, 850
PAUSE 20
PULSOUT 13, 650
PULSOUT 12, 850
PAUSE 20
PULSOUT 13, 750
PULSOUT 12, 650
' Rotate left - about 1/4 turn
' Rotate right - about 1/4 turn
' Backward

Related parts for 28125