An Arduino library to easily define a motor.
You can use this library for motor driver that has 1 PWM pin and 1 DIR pin, 1 PWM pin and 1 DIR pin inverted version, or 1 PWM and 2 DIR pins version.
Refer to the example files to learn how to use the library.