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: main.cpp
- Revision:
- 2:95aadb46a806
- Parent:
- 1:5ed69f730858
diff -r 5ed69f730858 -r 95aadb46a806 main.cpp
--- a/main.cpp Tue Aug 12 23:46:08 2014 +0000
+++ b/main.cpp Wed Aug 13 00:13:30 2014 +0000
@@ -16,7 +16,7 @@
mypwm.period_ms(10);
mypwm.pulsewidth_ms(1);
- flipper.attach(&flip, 5.0); // the address of the function to be attached (flip) and the interval (2 seconds)
+ flipper.attach(&flip, 4.0); // the address of the function to be attached (flip) and the interval (2 seconds)
printf("pwm set to %.2f %%\n", mypwm.read() * 100);