softpwm servo

Revision:
4:9cc96122f399
Parent:
3:36b69a7ced07
--- a/Servo.h	Thu Sep 02 17:34:43 2010 +0000
+++ b/Servo.h	Wed Oct 28 08:04:04 2020 +0000
@@ -24,6 +24,7 @@
 #define MBED_SERVO_H
 
 #include "mbed.h"
+#include "SoftPWM.h"
 
 /** Servo control class, based on a PwmOut
  *
@@ -89,7 +90,7 @@
     operator float();
 
 protected:
-    PwmOut _pwm;
+    SoftPWM _pwm;
     float _range;
     float _degrees;
     float _p;