Library that allows for higher resolution and speed than standard mbed PWM library using same syntax (drop-in replacement).
Diff: FastPWM_common.cpp
- Revision:
- 34:c0b2265cff9c
- Parent:
- 33:2ca2e47f9650
- Child:
- 35:d6c2b73d71f5
--- a/FastPWM_common.cpp Sun Sep 03 16:26:07 2017 +0000 +++ b/FastPWM_common.cpp Sun Sep 03 19:40:01 2017 +0000 @@ -63,7 +63,6 @@ void FastPWM::write(double duty) { _duty=duty; - wait_ms(100); pulsewidth_ticks(duty*getPeriod()); }