Fork of Erik Olieman's FastPWM library created to add the targets I need.
Fork of FastPWM by
Diff: FastPWM.h
- Revision:
- 12:4600daab8a83
- Parent:
- 6:0f57969697b6
--- a/FastPWM.h Wed Jul 16 15:44:21 2014 +0000 +++ b/FastPWM.h Sun Jul 20 12:49:21 2014 +0000 @@ -36,6 +36,7 @@ * @param prescaler - Clock prescaler, -1 is dynamic (default), 0 is bit random, everything else normal */ FastPWM(PinName pin, int prescaler = -1); + ~FastPWM(); /** * Set the PWM period, specified in seconds (double), keeping the pulsewidth the same. @@ -144,6 +145,6 @@ bool dynamicPrescaler; - + void *fast_obj; }; #endif \ No newline at end of file