Device Control

Control brushed DC motors by PWM and uses optional attached encoders to drive fixed distances. For L298 or TB6612, or Adafruit Motor Shield
With special CarMotorControl for easy control of 2 or 4 motors of the obstacle avoiding arduino robot car kits.If slot-type photo interrupters are attached to the encoder discs of such a kit, deterministic distances and turns can be driven.Examples include a follower car and an Bluetooth controlled obstacle avoiding car.New: Added and renamed functions.

Author: Armin Joachimsmeyer

Maintainer: Armin Joachimsmeyer

Read the documentation


This library is compatible with all architectures so you should be able to use it on all the Arduino boards.


To use this library, open the Library Manager in the Arduino IDE and install it from there.