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.
Diff: Motor.cpp
- Revision:
- 5:1d0887244f8b
- Parent:
- 4:f1b54a118b5e
diff -r f1b54a118b5e -r 1d0887244f8b Motor.cpp
--- a/Motor.cpp Tue May 29 11:17:59 2018 +0000
+++ b/Motor.cpp Sat Jul 21 14:00:51 2018 +0000
@@ -26,7 +26,7 @@
_pwm(pwm), _fwd(fwd), _rev(rev) {
// Set initial condition of PWM
- _pwm.period(0.001);
+ _pwm.period(0.002);
_pwm = 0;
// Initial condition of output enables