<?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>Help with Blinky example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82464/help-with-blinky-example</link><description>I cannot get the blinky example to work with my NRF52 development kit. I used the example in the pca10040/blank/ses folder and it worked fine. I then modified the code per the attached. I have an LED connected on pin 14 and there is a kit LED connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Dec 2021 12:18:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82464/help-with-blinky-example" /><item><title>RE: Help with Blinky example</title><link>https://devzone.nordicsemi.com/thread/342313?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 12:18:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65bbe341-afe2-4959-884b-fd6600b203cc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you have an externally connected LED to P0.14? This pin is assigned to button 2 on the nRF52 DK, so it can&amp;#39;t control any of the board LEDs (for pin assignments you can look at the silkscreen on the boards backside).&lt;/p&gt;
&lt;p&gt;Either way, the problem with the code you posted is that nrf_gpio_pin_set() gets called immediately after nrf_gpio_pin_clear() with no delay in-between.&lt;/p&gt;
&lt;p&gt;Please try to add this delay after turning on the LED:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;while(1)
{
    nrf_gpio_pin_set(LED);
    nrf_gpio_pin_set(LED1);
     nrf_delay_ms(500); // Stay ON for 500 ms (LEDs are active low)
    nrf_gpio_pin_clear(LED);
    nrf_gpio_pin_clear(LED1);
    nrf_delay_ms(500); // Stay OFF for 500 ms
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>