<?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>About the PWM routines demo5 nrf52832 Settings?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26417/about-the-pwm-routines-demo5-nrf52832-settings</link><description>How do you do
Now use E: \ Nordic \ nRF5_SDK_12 2.0 \ examples \ peripheral \ pwm_driver \ pca10040 demo5 pwm_driver routine
There are two problems: 
 
 How to change the PWM duty cycle, he tried to such a change But no matter use, const
nrf_pwm_values_individual_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Oct 2017 17:08:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26417/about-the-pwm-routines-demo5-nrf52832-settings" /><item><title>RE: About the PWM routines demo5 nrf52832 Settings?</title><link>https://devzone.nordicsemi.com/thread/103968?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 17:08:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46ac2585-b498-4cfe-92fd-393429ec8e1b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Did you change &lt;code&gt;m_demo1_step&lt;/code&gt; ? The duty cycle will be the ratio between seq_value and .top_value.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Yes, Some GPIO pins on the nRF52-DK are used for other things, e.g. LF-Crystal(p0.00 p0.01), buttons, leds. Pin 9 and 10 are used for NFC by default. p0.06  is used by the UART.  See &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/nrf52_dev_kit/hw_conn_interf.html?cp=2_1_4_5_3"&gt;this page&lt;/a&gt; for a drawing.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>