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.
Dependents: 2014-Mx64 2014-mx64-test
Fork of AX12 by
Revision 8:bf333220b2f1, committed 2014-06-20
- Comitter:
- ppr2013G2
- Date:
- Fri Jun 20 06:25:54 2014 +0000
- Parent:
- 7:69c59554290b
- Commit message:
- fix
Changed in this revision
MX64.cpp | Show annotated file Show diff for this revision Revisions of this file |
MX64.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 69c59554290b -r bf333220b2f1 MX64.cpp --- a/MX64.cpp Tue May 27 13:58:34 2014 +0000 +++ b/MX64.cpp Fri Jun 20 06:25:54 2014 +0000 @@ -96,7 +96,7 @@ } // 1023 / 300 * degrees - short goal = (1023 * degrees) / 300; + short goal = (1023 * degrees) / 360; short sp = (1023 * speed) / 100; #ifdef AX12_DEBUG
diff -r 69c59554290b -r bf333220b2f1 MX64.h --- a/MX64.h Tue May 27 13:58:34 2014 +0000 +++ b/MX64.h Fri Jun 20 06:25:54 2014 +0000 @@ -137,13 +137,13 @@ /** Set the clockwise limit of the servo * - * @param degrees, 0-300 + * @param degrees, 0-360 */ int SetCWLimit(int degrees); /** Set the counter-clockwise limit of the servo * - * @param degrees, 0-300 + * @param degrees, 0-360 */ int SetCCWLimit(int degrees);