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.
Fork of Motor2 by
Revision 12:1d3fb22bbdf9, committed 2014-11-21
- Comitter:
- Reiko
- Date:
- Fri Nov 21 18:22:54 2014 +0000
- Parent:
- 11:87a73d40ce5b
- Commit message:
- Shorter stall detection times
Changed in this revision
| motor.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 87a73d40ce5b -r 1d3fb22bbdf9 motor.cpp
--- a/motor.cpp Sun Oct 19 08:31:18 2014 +0000
+++ b/motor.cpp Fri Nov 21 18:22:54 2014 +0000
@@ -23,8 +23,8 @@
currentPWM = 0;
stallCount = 0;
prevStallCount = 0;
- stallWarningLimit = 60;
- stallErrorLimit = 300;
+ stallWarningLimit = 30;
+ stallErrorLimit = 120;
stallLevel = 0;
}
