No.9 Robotics / Mbed 2 deprecated Robotics_DCMotor

Dependencies:   mbed

Fork of Robotics_Lab_DCMotor by LDSC_Robotics

Revision:
2:4d048af437fe
Parent:
1:6747911cdd90
Child:
3:178ee1fe1c60
diff -r 6747911cdd90 -r 4d048af437fe main.cpp
--- a/main.cpp	Thu Apr 07 23:00:14 2016 +0000
+++ b/main.cpp	Tue Apr 12 09:17:44 2016 +0000
@@ -84,7 +84,6 @@
     if(PIout_2 >= 0.5f)PIout_2 = 0.5f;
     else if(PIout_2 <= -0.5f)PIout_2 = -0.5f;
     pwm2.write(PIout_2 + 0.5f);
-    pwm2.write(0);
     TIM1->CCER |= 0x40;
 }