<?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>Blinking an external LED on nrf9160DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96136/blinking-an-external-led-on-nrf9160dk</link><description>Dear Nordic Team, 
 I am currently using nrf9160dk to blink an external LED that is connected to Pin0.14. However, I am unable to blink the LED with the code below. May I know how to solve this issue? 
 Best regards, 
 Yeo Rhi Khin</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Jan 2023 15:51:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96136/blinking-an-external-led-on-nrf9160dk" /><item><title>RE: Blinking an external LED on nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/407162?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 15:51:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:032fe7b1-c623-4883-a4e4-38507bc0a982</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Dear Yeo,&lt;/p&gt;
[quote user=""]I am unable to blink the LED with the code below[/quote]
&lt;p&gt;What happens when you try this? Are you able to build the code? I tried building but I ran into some build errors. Which nRF Connect SDK are you building for?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the documentation for the standard &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/samples/basic/blinky/README.html"&gt;blinky&lt;/a&gt; sample there is a section about &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/samples/basic/blinky/README.html#adding-board-support"&gt;adding board support&lt;/a&gt; that shows how to change the pin. If you add this to an overlay, and change from &lt;code&gt;&lt;span&gt;gpios&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio0&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;13&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_LOW&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;to &lt;code&gt;&lt;span&gt;gpios&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio&lt;span style="background-color:rgba(255, 255, 153, 1);"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color:rgba(255, 255, 153, 1);"&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;14&lt;/span&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_LOW&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt;, then you should hopefully see your LED on P0.14 flashing.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>