PwmOut Hello World

Fork of PwmOut_HelloWorld by Mbed

Note

Set the cycle time first, then set the duty cycle using either a relative time period via the write() function or an absolute time period using the pulsewidth() function.

Files at this revision

API Documentation at this revision

Comitter:
mab5449
Date:
Thu Jan 19 10:43:48 2017 -0600
Parent:
1:5160ea45399b
Child:
3:10bf740dc758
Commit message:
Ported mbed OS 2 to mbed OS 5

Changed in this revision

mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os.lib	Thu Jan 19 10:43:48 2017 -0600
@@ -0,0 +1,1 @@
+https://github.com/ARMmbed/mbed-os/#04a31f3b39bfbd69e155ed7c9f55880fd75278ba
--- a/mbed.bld	Sun Sep 21 06:39:30 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1
\ No newline at end of file