Zumo Motors

The Zumo Shield libraries provide basic motor operation consisting of PWM speed control and direction.  Packages and installation instructions can be downloaded from GitHub but once installed the motors library can be included from Sketch > Include Library. Lastly you must create an instance of the ZumoMotors class with:

Each the following available methods must be preceded with motors.

Available Methods

Flip the motor if they have been connected in reverse – accepts true or false;

Set speed for left, right, or both motors – accepts values from 0 to 400

Example

screenshot

About CDB 361 Articles
Self-Employed Software Developer, Spark, Property Management, Hobby Forestry, Ex-Teacher, Engineering - Wood, Metal, Electrics & Computers. Outdoors - Walk, Cycle, Kitesurf,

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.