Comprehensive Motor Control Library

One-stop shop for controlling DC, BLDC, and stepper motors: MotorController.h (installable via the Arduino IDE's Libraries Manager)

I plan on some point adding things like microstepping and other features in the future, but for now the library has good, basic functionality for all motor types listed above.

Not sure using digitalWrite will lead to the best performance ever
Why do you pass all parameters by reference (including bytes..)?