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.

Changes

RevisionDateWhoCommit message
3:10bf740dc758 2017-06-23 sarahmarshy "Update mbed-os" default tip
2:3a1c5ee2fdb6 2017-01-19 mab5449 Ported mbed OS 2 to mbed OS 5
1:5160ea45399b 2014-09-21 mbedAustin updated example for clarity
0:50d2b9c62765 2013-02-12 mbed_official PwmOut HelloWorld