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: JS_1motor_20170707_ok Task_1_BallRidingbot_KeepingStationCatching_layingDown_1230 Task_2_BallRidingbot_MovingForwardCatching_backward_1230 testSSWMR_StationKeeping_200170830_OK ... more
Revision 2:4c315bcd91b4, committed 2013-02-15
- Comitter:
- andrewrussell
- Date:
- Fri Feb 15 05:16:58 2013 +0000
- Parent:
- 1:c1b2ec2662fd
- Commit message:
- Fixed the bug that the bug fix created.
Changed in this revision
| Servo.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Servo.cpp Fri Feb 15 05:14:48 2013 +0000
+++ b/Servo.cpp Fri Feb 15 05:16:58 2013 +0000
@@ -53,7 +53,7 @@
* @param float max Maximum pulse width in seconds
* @param float min Minimum pulse width in seconds
*/
-void Servo::calibrate(float period, float min, float min) {
+void Servo::calibrate(float period, float min, float max) {
_period = period;
_min = min;
_max = max;