Simple motor controller library, using DIR, PWM, nSLP pin like pololu.
Diff: MotorControler.h
- Revision:
- 4:a60052db674c
- Parent:
- 3:7acc824ca344
- Child:
- 5:b46d1e179eb7
diff -r 7acc824ca344 -r a60052db674c MotorControler.h --- a/MotorControler.h Tue Feb 02 13:51:29 2021 +0000 +++ b/MotorControler.h Tue Feb 02 14:05:05 2021 +0000 @@ -20,7 +20,7 @@ class MotorControler { public: - MotorControler(PinName DIR, PinName PWM, PinName SLP, DriverType md_type=POLOLU); + MotorControler(PinName DIR, PinName PWM, PinName nSLP, DriverType md_type=POLOLU); void enableDriver(); void disableDriver();