<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PWM - LED Min to Max Brightness and Vice Versa</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39255/pwm---led-min-to-max-brightness-and-vice-versa</link><description>Hello, 
 I am currently learning the PWM peripheral of the nRF52DK and am a total beginner in PWM. 
 I have tried running the attached program and this allows the LED0 to luminate from MIN to MAX brightness. 
 However, when it reaches MAX brightness,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Oct 2018 07:26:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39255/pwm---led-min-to-max-brightness-and-vice-versa" /><item><title>RE: PWM - LED Min to Max Brightness and Vice Versa</title><link>https://devzone.nordicsemi.com/thread/151962?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 07:26:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7bb7e0a-28f9-4345-9a33-a5e5fadbba49</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Have you looked at the PWM Driver example:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/pwm_hw_example.html?cp=4_0_0_4_5_22"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/pwm_hw_example.html?cp=4_0_0_4_5_22&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;See also:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38607/nrf5-sdk15-0---pwm-driver-just-set-a-fixed-duty-cycle"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/38607/nrf5-sdk15-0---pwm-driver-just-set-a-fixed-duty-cycle&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;There&amp;#39;s also the&amp;nbsp;&lt;span&gt;LED Softblink Example - it uses timers rather than the PWM hardware:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/led_softblink_example.html?cp=4_0_0_4_5_15"&gt;infocenter.nordicsemi.com/.../led_softblink_example.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>