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: FastPWM_common.cpp
- Revision:
- 33:2ca2e47f9650
- Parent:
- 18:d91c0629e4e6
- Child:
- 34:c0b2265cff9c
diff -r e880dcb178f4 -r 2ca2e47f9650 FastPWM_common.cpp
--- 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());
}