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: PwmIn/PwmIn.h
- 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;