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.cpp
- Revision:
- 6:ab9f3695633f
- Parent:
- 4:efa207509f63
- Child:
- 8:f23601373e8b
--- a/sm_servo.cpp Sun Sep 29 17:09:48 2019 +0000 +++ b/sm_servo.cpp Sun Sep 29 20:07:54 2019 +0000 @@ -3,7 +3,7 @@ PwmOut pwm_Servo(PE_9); E_STATE_SERVO e_stateServo; bool directionCheck = false; -int pulsewidth = SERVO_PULSE_MAX_US; +int pulsewidth = SERVO_PULSE_MIDDLE_US;//SERVO_PULSE_MAX_US; void init_sm_servo() {