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.

History

"Update mbed-os" default tip

2017-06-23, by sarahmarshy [Fri, 23 Jun 2017 17:59:41 -0500] rev 3

"Update mbed-os"


Ported mbed OS 2 to mbed OS 5

2017-01-19, by mab5449 [Thu, 19 Jan 2017 10:43:48 -0600] rev 2

Ported mbed OS 2 to mbed OS 5


updated example for clarity

2014-09-21, by mbedAustin [Sun, 21 Sep 2014 06:39:30 +0000] rev 1

updated example for clarity


PwmOut HelloWorld

2013-02-12, by mbed_official [Tue, 12 Feb 2013 15:10:53 +0000] rev 0

PwmOut HelloWorld