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: sm_servo.h
- Revision:
- 9:1b54bac6d9a7
- Parent:
- 8:f23601373e8b
- Child:
- 12:58ad06f9847d
diff -r f23601373e8b -r 1b54bac6d9a7 sm_servo.h --- a/sm_servo.h Wed Oct 02 22:25:12 2019 +0000 +++ b/sm_servo.h Thu Oct 03 23:28:56 2019 +0000 @@ -9,6 +9,7 @@ #define SERVO_PULSE_MAX_US 2000 #define SERVO_PULSE_MIN_US 1050 + /* Enums */ @@ -33,5 +34,6 @@ double compute_angle_correction(double consigne); double pwmFromAngle(double angleDeg); +double positionOnTrack(); #endif \ No newline at end of file