<?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>RGB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39694/rgb</link><description>Hi 
 I have a RGB LED and want to have bellow process for brightness: 
 Red from o to 100 then Green from 0 to 100 and Blue from 0 to 100. 
 till now i by bellow code i can go for a white color which seems start from 0 to 100. But what i need is different</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Oct 2018 17:09:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39694/rgb" /><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154176?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 17:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c74180db-499a-48b5-b42c-0638e26c726f</guid><dc:creator>D</dc:creator><description>&lt;p&gt;&amp;nbsp;My RGB LED is active low also.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154161?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 15:27:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09dbb246-7622-451e-aba4-e32451118fa4</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Again, remember that the DK LEDs are active low; ie, taking the output pin low turns the LED ON.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is your RGB LED wired to be the same - or is it active high ... ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154156?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 15:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e2bb372-6da8-4769-8fa4-b44ff8bc14e0</guid><dc:creator>D</dc:creator><description>&lt;p&gt;Yes i am working with the same code. Now i have white color as a background but inside of this white color i am seeing red, green and blue fading down then up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154145?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 14:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6cd19c6-55fc-4b15-9146-1aeb0a09cde4</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Which is what I said 2 hours ago.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So now we&amp;#39;re making progress!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What happens if you now connect your RGB LED to the DK - still running this exact same code?&lt;/p&gt;
&lt;p&gt;Remember that the DK LEDs are active low; ie, taking the output pin low turns the LED ON.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154140?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 14:19:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5db3eeb-d182-4a54-9a7f-ad293644deb7</guid><dc:creator>D</dc:creator><description>&lt;p&gt;this pause is about 1 second and for the second question maybe it is correspond to that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154137?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 14:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52dd8013-6879-43b1-9a86-c4908b3d165e</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;so how long is that?&lt;/p&gt;
&lt;p&gt;does it correspond to the &amp;quot;on time&amp;quot; you were seeing before?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154133?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 14:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d920ca4-c1a0-431a-85e1-fd44aa67f70a</guid><dc:creator>D</dc:creator><description>&lt;p&gt;there is short pause.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154132?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 13:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a71a8fe-d34c-4776-88a7-34ebe4390707</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;and does the LED1 fade start immediately at the end of the LED3 fade - or is there a pause?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154112?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 12:51:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dde0456-0a5b-40ce-8dc9-21d66c705e8d</guid><dc:creator>D</dc:creator><description>&lt;p&gt;1_led1 fade up then down&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2_led2 fade up then down&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3_led3 fade up then down&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and this process repeat continuesly.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154111?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 12:51:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d28820e2-ae1a-4734-ab5f-b2071939a0a9</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Run it on the DK.&lt;/p&gt;
&lt;p&gt;Tell us what you see.&lt;/p&gt;
&lt;p&gt;How to properlypost source code:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154109?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 12:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4838a025-2afc-445f-aca8-057d21186863</guid><dc:creator>D</dc:creator><description>&lt;p&gt;So for 3 channel:&lt;/p&gt;
&lt;p&gt;nrf_drv_pwm_config_t const config0 =&lt;br /&gt; {&lt;br /&gt; .output_pins =&lt;br /&gt; {&lt;br /&gt;red&lt;br /&gt;green&lt;br /&gt;blue&lt;br /&gt; },&lt;/p&gt;
&lt;p&gt;and for seq:&lt;/p&gt;
&lt;p&gt;m_demo1_seq_values.channel_0 = 0;&lt;br /&gt; m_demo1_seq_values.channel_1 = 0;&lt;br /&gt; m_demo1_seq_values.channel_2 = 0;&lt;/p&gt;
&lt;p&gt;is that correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154107?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 12:46:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9120ee6-04e1-4ab3-8a17-f60fb12040b9</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;OK - so if you run that edited code on the DK, what do you see on the 3 LEDs?&lt;/p&gt;
&lt;p&gt;The code neither knows nor cares what colours the LEDs are!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154105?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 12:44:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26802498-d45f-4fce-994b-d8339a64dd98</guid><dc:creator>D</dc:creator><description>&lt;p&gt;I eddited the code&amp;nbsp; for 3 leds and have this problem. so i dont think so it is correspond to 4th led.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154102?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 12:37:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ad6a89f-5ed2-4661-97d1-5cf9a3031be3</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Yes - as already stated, the demo1 program &lt;strong&gt;does&lt;/strong&gt; do &lt;em&gt;&lt;strong&gt;exactly&lt;/strong&gt; &lt;/em&gt;that.&lt;/p&gt;
&lt;p&gt;But, as I said, it does it on four LEDs - not three.&lt;/p&gt;
&lt;p&gt;So does this unwanted &amp;quot;ON&amp;quot; period you&amp;#39;re seeing correspond to the fade-up &amp;amp; fade-down time of the 4th LED ... ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154097?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 12:28:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d0a5f1c-0a2c-42c4-b138-23cd18bb6b28</guid><dc:creator>D</dc:creator><description>&lt;p&gt;I just want:&lt;/p&gt;
&lt;p&gt;1_LED red fade up then down&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2_LED&amp;nbsp;green fade up then down&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3_LED&amp;nbsp;blue fade up then down&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I know demo1 must do this but i cant see this process in RGB led.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154094?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 12:24:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82a5b37e-5ac2-4414-b974-3dade4c7ab16</guid><dc:creator>D</dc:creator><description>&lt;p&gt;hey. i dont want it to happen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/154084?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 12:10:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1272bf78-ecee-40b6-b55a-4c4e41d2dc81</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;The &amp;quot;on time&amp;quot; that you are referring to, do you want it to happen or not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/153911?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 18:04:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:236f3b19-3686-4297-a77b-38543d856a82</guid><dc:creator>D</dc:creator><description>&lt;p&gt;I explained it clearly! i hope some one else answer it soon&lt;/p&gt;
&lt;p&gt;thank u&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/153910?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 18:00:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af3b9b8f-73c8-45e4-b73e-6e4356fc45de</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Sorry, I cannot follow that at all.&lt;/p&gt;
&lt;p&gt;Hopefully someone else will be along soon who can&amp;nbsp; get what you are saying.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/153907?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 17:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:666a66b1-3681-46a0-96bf-6708e4619714</guid><dc:creator>D</dc:creator><description>&lt;p&gt;If you try to connect 1 RGB led to nrf52840 maybe you will see the same phenomenon. i mean 3 second on and 1 second fading up down(all 3 colors in 1 second). but it is wrong and we must have red fading up down, green and blue also. in concept we have to has below process but we cant observe this and instead i can see what i told u.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Fade red up, then down&lt;/li&gt;
&lt;li&gt;Fade&amp;nbsp;green up, then down&lt;/li&gt;
&lt;li&gt;Fade blueup, then down&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/153906?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 17:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b164302-ce94-4420-a4d9-03611a1aa4ac</guid><dc:creator>D</dc:creator><description>&lt;p&gt;&amp;nbsp;we use 3 channel so we have this phenomenon (because red, green and blue mixed together so we have white color). . both are same. but for make it simple i explain it by 1 channel and said&amp;nbsp;&lt;span&gt;If i have channel for red only so it must fade up and down. thats it. i dont know why i have 3 second constand on!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/153905?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 17:42:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5689a63-1a67-474f-b470-87c27d3e3f62</guid><dc:creator>D</dc:creator><description>&lt;p&gt;As i wrote before it is in reality and happening now. But as u know better it must not work like this!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/153904?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 17:38:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21c948b6-bb84-4368-82da-d40d91be8ea5</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Is that what &lt;em&gt;&lt;strong&gt;is&lt;/strong&gt; &lt;/em&gt;happening, or what you &lt;em&gt;&lt;strong&gt;want&lt;/strong&gt; &lt;/em&gt;to happen?&lt;/p&gt;
&lt;p&gt;And what does that have to do with the stuff about the separate red, green. and blue in your opening post?&lt;/p&gt;
&lt;p&gt;You are just confusing me further!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/153902?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 17:30:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5483598-791c-4e19-aa4f-4c1089ab58bf</guid><dc:creator>D</dc:creator><description>&lt;p&gt;suppose we have a led which normally is on(white color) but after each an every 3 second increasing brightness from 0 to 100 and vice versa(in 1 second) and again it is on(white color) for 3 second and ....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RGB</title><link>https://devzone.nordicsemi.com/thread/153899?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 17:07:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28c9a021-0252-4771-97c4-edeaa02ac061</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;OK, let&amp;#39;s go back to the beginning:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="73588" url="~/f/nordic-q-a/39694/rgb"]by bellow code i can go for a white color which seems start from 0 to 100[/quote]
&lt;p&gt;So what, exactly, do you mean by that?&lt;/p&gt;
&lt;p&gt;To me, it sounds like you have white colour fading up (ie, gradually increasing in intensity/brightness) from zero (off) to 100% (full brightness).&lt;/p&gt;
&lt;p&gt;Is that what you mean?&lt;/p&gt;
&lt;p&gt;If not, please clarify.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>