Dependents: serial_connected_mcu_nucleo serial_connected_mcu_nucleo
Diff: servo.hpp
- Revision:
- 5:a4d580b86638
- Parent:
- 2:58169cf31b49
diff -r 31ed2ce96ca3 -r a4d580b86638 servo.hpp --- a/servo.hpp Sat Jun 25 09:16:14 2016 +0000 +++ b/servo.hpp Sat Jun 25 09:35:38 2016 +0000 @@ -9,9 +9,11 @@ void set_position(float pos); private: - static const float _min_position_sec; - static const float _max_position_sec; + static const float _min_position_msec; + static const float _max_position_msec; PwmOut _pwm; }; +//#include "servo_impl.hpp" + #endif