Fork of original FastPWM libary from Sissors.
Dependents: PM2_Libary PM2_Libary
Diff: FastPWM_common.cpp
- Revision:
- 33:2ca2e47f9650
- Parent:
- 18:d91c0629e4e6
- Child:
- 34:c0b2265cff9c
--- a/FastPWM_common.cpp Sun Jan 01 14:37:55 2017 +0000 +++ b/FastPWM_common.cpp Sun Sep 03 16:26:07 2017 +0000 @@ -63,6 +63,7 @@ void FastPWM::write(double duty) { _duty=duty; + wait_ms(100); pulsewidth_ticks(duty*getPeriod()); }