<?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>How to turn off 12 LEDS together after a certain interval of time? The LEDs are connected using shift register HC595 and bluetooth module nrf51822 is the main module.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43012/how-to-turn-off-12-leds-together-after-a-certain-interval-of-time-the-leds-are-connected-using-shift-register-hc595-and-bluetooth-module-nrf51822-is-the-main-module</link><description>There are 12 LEDs which are connected using shift register HC595 ,the module used is nrf51822(bluetooth module). I want the LEDs to go off after 3 seconds interval. My code is as follows- 
 #include &amp;quot;main.h&amp;quot; #include &amp;quot;uart.h&amp;quot; #include &amp;quot;nrf_delay.h&amp;quot; #include</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jan 2019 10:37:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43012/how-to-turn-off-12-leds-together-after-a-certain-interval-of-time-the-leds-are-connected-using-shift-register-hc595-and-bluetooth-module-nrf51822-is-the-main-module" /><item><title>RE: How to turn off 12 LEDS together after a certain interval of time? The LEDs are connected using shift register HC595 and bluetooth module nrf51822 is the main module.</title><link>https://devzone.nordicsemi.com/thread/167866?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 10:37:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17025b17-fa26-4ee8-92b4-e6bdb80732c6</guid><dc:creator>awneil</dc:creator><description>[quote userid="76799" url="~/f/nordic-q-a/43012/how-to-turn-off-12-leds-together-after-a-certain-interval-of-time-the-leds-are-connected-using-shift-register-hc595-and-bluetooth-module-nrf51822-is-the-main-module"]code doesn&amp;#39;t seem to work[/quote]
&lt;p&gt;is uninformative&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.catb.org/esr/faqs/smart-questions.html#code"&gt;www.catb.org/.../smart-questions.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;what did you &lt;em&gt;expect&lt;/em&gt; it to do?&lt;/li&gt;
&lt;li&gt;what is it &lt;em&gt;actually&lt;/em&gt; doing?&lt;/li&gt;
&lt;li&gt;what debugging have &lt;em&gt;&lt;strong&gt;you&lt;/strong&gt; &lt;/em&gt;done to find what&amp;#39;s going on?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Before adding the complication of&amp;nbsp; the shift register, Does your code work for just blinking a simple, single LED on the Nordic Dev Kit?&lt;/p&gt;
&lt;p&gt;Does your LED control code work on its own?&lt;/p&gt;
&lt;p&gt;How To Debug:&amp;nbsp;&lt;a href="https://www.avrfreaks.net/comment/2418156#comment-2418156"&gt;www.avrfreaks.net/.../2418156&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to properly post 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/3835._5F00_Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>