robot

Dependencies:   FastPWM3 mbed

Revision:
151:5bbb15351798
Parent:
92:a9dac72d8cac
--- a/PwmIn/PwmIn.h	Thu May 04 14:23:13 2017 +0000
+++ b/PwmIn/PwmIn.h	Thu May 04 14:34:34 2017 +0000
@@ -5,7 +5,7 @@
 
 class PwmIn {
 public:
-    PwmIn(PinName pin, int usec_min, int usec_max, int usec_crazy_low, int usec_crazy_hi);
+    PwmIn(PinName pin, int usec_min, int usec_max);
     bool get_enabled();
     float get_throttle();
 public:
@@ -19,7 +19,7 @@
     InterruptIn* int_in;
     DigitalIn*   dig_in;
     Timer timer;
-    int usec_min, usec_max, usec_crazy_low, usec_crazy_hi;
+    int usec_min, usec_max;
 private:
     bool enabled;
     bool blocked;