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.

mbed-os.lib

Committer:
sarahmarshy
Date:
2017-06-23
Revision:
3:10bf740dc758
Parent:
2:3a1c5ee2fdb6

File content as of revision 3:10bf740dc758:

https://github.com/ARMmbed/mbed-os/#c9e63f14085f5751ff5ead79a7c0382d50a813a2