Library version for DC_Stepper_Controller_Lib with PWM speed control
Dependents: DR-ArmServoTest Auto_DC_pick_class MBed_TR1 ros_button_2021
Diff: DC_Motor_Controller.h
- Revision:
- 8:703502486434
- Parent:
- 7:6e59ed00a6a9
- Child:
- 9:49b59b308767
diff -r 6e59ed00a6a9 -r 703502486434 DC_Motor_Controller.h --- a/DC_Motor_Controller.h Mon May 24 08:17:09 2021 +0000 +++ b/DC_Motor_Controller.h Mon May 24 08:19:58 2021 +0000 @@ -54,6 +54,9 @@ }; public: + /** + * @param N1(M1), IN2(M2), INA, INB, PPR + */ DC_Motor_Controller(PinName out1_p, PinName out2_p, PinName in1_p, PinName in2_p, int PPR) : out1(out1_p), out2(out2_p), dc_motor(in1_p, in2_p, NC, PPR){}