Difference between revisions of "Tutorial:Motors"

From IPRE Wiki
Jump to: navigation, search
m
(No difference)

Revision as of 19:07, 4 December 2007

How to use Myro Motors

motors(leftWheelPower,rightWheelPower)

The motors(lwp,rwp) function is used to move the robot forward or backward with variable power to the two wheels. It does not take in a time parameter, so the robot will continue to run until it encounters a stop() or other incompatible command.

Example