27404 Parallax Inc, 27404 Datasheet - Page 151

COMPETITION RING FOR SUMOBOT

27404

Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 27404

Accessory Type
Hobby and Education
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SumoBot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
' Applied Robotics with the SumoBot - ServoControlExample.bs2
' {$STAMP BS2}
' {$PBASIC 2.5}
counter VAR byte
' SumoBot goes forward 3 seconds.
FOR counter = 1 TO 122
NEXT
' SumoBot goes backward 3 seconds.
FOR counter = 1 TO 122
NEXT
' SumoBot rotates left .75 seconds.
FOR counter = 1 TO 30
NEXT
' SumoBot rotates right .75 seconds.
FOR counter = 1 TO 30
NEXT
' SumoBot pivots right 1.5 seconds.
FOR counter = 1 TO 61
NEXT
' SumoBot curves left 1.5 seconds.
FOR counter = 1 TO 61
NEXT
PULSOUT 13, 850
PULSOUT 12, 650
PAUSE 20
PULSOUT 13, 650
PULSOUT 12, 850
PAUSE 20
PULSOUT 13, 650
PULSOUT 12, 650
PAUSE 20
PULSOUT 13, 850
PULSOUT 12, 850
PAUSE 20
PULSOUT 13, 850
PULSOUT 12, 750
PAUSE 20
PULSOUT 13, 765
PULSOUT 12, 650
PAUSE 20

Related parts for 27404