Tutorial:Motors

From IPRE Wiki
Revision as of 19:07, 4 December 2007 by Abrauer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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