SPIN3 We make the robot spin by having the wheels turn in the opposite directions. Non-program elements that may effect what your robot does are.: size of the wheels, the surface the robot is moving on. IE: carpet vs hard surface.
SPIN3 We make the robot spin by having the wheels turn in the opposite directions. Non-program elements that may effect what your robot does are.: size of the wheels, the surface the robot is moving on. IE: carpet vs hard surface.
use Libraries.Robots.Lego.Motor
Motor motor
motor:SetSpeed("B",25)
motor:SetSpeed("C",25)
motor:RotateByDegrees("B", 360*2)
motor:RotateByDegrees("C", -360*2)
motor:Wait("B")
motor:RotateByDegrees("B", -360*2)
motor:RotateByDegrees("C", 360*2)
motor:Wait("B") motor:Wait("C")