<?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>nrf_pwm_values_individual_t pwm RGB LED</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23818/nrf_pwm_values_individual_t-pwm-rgb-led</link><description>I want to have blinky orange led, 
 0 mean on, 0x8000 is off, right? and why?? 
 I have no idea what&amp;#39;s 0x8000 mean! 
 so if I want have orange(full-R and half-G), how can i do? 
 thanks! 
 There is the code of red led blinky,
static nrf_pwm_values_individual_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jul 2017 11:47:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23818/nrf_pwm_values_individual_t-pwm-rgb-led" /><item><title>RE: nrf_pwm_values_individual_t pwm RGB LED</title><link>https://devzone.nordicsemi.com/thread/93698?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 11:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d004d13-8d52-4452-a3fa-4744edeb48d6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The struct &lt;code&gt;nrf_pwm_values_individual_t&lt;/code&gt; &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/structnrf__pwm__values__individual__t.html"&gt;is documented here&lt;/a&gt;. It holds the duty cycle for each of the channels 0-3, when PWM is in &lt;code&gt;NRF_PWM_LOAD_INDIVIDUAL&lt;/code&gt; mode.&lt;/p&gt;
&lt;p&gt;0x8000 (setting the MSB - bit 15) will &lt;a href="https://devzone.nordicsemi.com/question/71325/nrf52-pwm-updown-counter-mode/?answer=71632#post-id-71632"&gt;invert the output of the PWM&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>