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.
Fork of TutoElectro_PWM by
Revision 3:7de9f8f4a15e, committed 2015-12-07
- Comitter:
- josedaparte
- Date:
- Mon Dec 07 19:30:24 2015 +0000
- Parent:
- 2:be4ea24f1cdd
- Commit message:
- j
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r be4ea24f1cdd -r 7de9f8f4a15e main.cpp
--- a/main.cpp Fri Dec 04 16:30:11 2015 +0000
+++ b/main.cpp Mon Dec 07 19:30:24 2015 +0000
@@ -36,7 +36,7 @@
}
pc.baud(115200);
- pwmsal.period_ms(5);
+ pwmsal.period(5);
valorpwm = pwment.read();
pwmsal.write(valorpwm);
wait(1);
