Dependents: serial_connected_mcu_nucleo serial_connected_mcu_nucleo
Revision 4:31ed2ce96ca3, committed 2016-06-25
- Comitter:
- inst
- Date:
- Sat Jun 25 09:16:14 2016 +0000
- Parent:
- 3:6cadf3326257
- Child:
- 5:a4d580b86638
- Commit message:
- ????????????
Changed in this revision
servo.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/servo.cpp Sat Jun 25 09:04:06 2016 +0000 +++ b/servo.cpp Sat Jun 25 09:16:14 2016 +0000 @@ -2,7 +2,7 @@ #include "mbed.h" const float servo::_min_position_sec = 0.85f * 0.001f; -const float servo::_max_position_sec = 2.1f * 0.001f; +const float servo::_max_position_sec = 2.15f * 0.001f; servo::servo(PinName pin) : _pwm(pin) { _pwm.period(20.0f * 0.001f);