Library version for DC_Stepper_Controller_Lib with PWM speed control

Dependencies:   mbed QEI PID

Dependents:   DR-ArmServoTest Auto_DC_pick_class MBed_TR1 ros_button_2021

Revision:
14:c9611cf036ad
Parent:
13:675456f1f401
Child:
15:87df75ee8731
--- a/DC_Motor_Controller.h	Thu May 27 05:43:48 2021 +0000
+++ b/DC_Motor_Controller.h	Thu May 27 07:32:49 2021 +0000
@@ -16,6 +16,7 @@
         int get_pulse();
     
     protected:
+        int _ppr;
         PwmOut out1, out2; 
         QEI dc_motor;
         virtual void goto_pulse(int tar_pulse, float speed = 1) = 0;