Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Robotics_Lab_DCMotor by
Diff: main.cpp
- Revision:
- 2:4d048af437fe
- Parent:
- 1:6747911cdd90
- Child:
- 3:178ee1fe1c60
--- 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;
}
