Library version for DC_Stepper_Controller_Lib with PWM speed control
Dependents: DR-ArmServoTest Auto_DC_pick_class MBed_TR1 ros_button_2021
Diff: main.cpp
- Revision:
- 8:703502486434
- Parent:
- 7:6e59ed00a6a9
- Child:
- 9:49b59b308767
--- a/main.cpp Mon May 24 08:17:09 2021 +0000 +++ b/main.cpp Mon May 24 08:19:58 2021 +0000 @@ -2,12 +2,7 @@ #include "QEI.h" #include "DC_Motor_Controller.h" -DC_Motor_Controller motor(D2,D3,D4,D5,792); //out1 out2 in1 in2 ppr -// D4 -> INA -// D5 -> INB -// D3 -> IN2 -> M1 -// D2 -> IN1 -> M2 - +DC_Motor_Controller motor(D2,D3,D4,D5,792); //IN1(M1), IN2(M2), INA, INB, PPR int main() {