Driver for two motors library
Diff: Driver.h
- Revision:
- 1:e417951c16d7
- Parent:
- 0:eafb70ae80f7
diff -r eafb70ae80f7 -r e417951c16d7 Driver.h --- a/Driver.h Tue Jul 28 05:46:24 2020 +0000 +++ b/Driver.h Wed Jul 29 04:40:37 2020 +0000 @@ -1,9 +1,9 @@ #include "mbed.h" -class driver{ +class Driver{ public: - driver(PinName M1A, PinName M1B, PinName M2A, PinName M2B); + Driver(PinName M1A, PinName M1B, PinName M2A, PinName M2B); void setPeriod_ms(int32_t); void forward(float, float); void backward(float, float);