<?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>Nrf52832 changing advertising led to gpio and external led</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56549/nrf52832-changing-advertising-led-to-gpio-and-external-led</link><description>Hello, 
 I&amp;#39;m working with the Nrf52832 Dev Kit and the ble_uart_example. After flashing with the hex file and powering the Dev Kit, the on-board-LED starts to blink. Now I want to use an external LED connected to a GPIO to show if the Board is advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Feb 2020 11:28:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56549/nrf52832-changing-advertising-led-to-gpio-and-external-led" /><item><title>RE: Nrf52832 changing advertising led to gpio and external led</title><link>https://devzone.nordicsemi.com/thread/232522?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 11:28:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32ff4cb8-ed10-42f3-ad54-f25ee10890e6</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;LEDs could be either active high or active low.&amp;nbsp;You&amp;nbsp;can try to change LEDS_ACTIVE_STATE to 1 in pca10040.h.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 changing advertising led to gpio and external led</title><link>https://devzone.nordicsemi.com/thread/230246?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2020 08:50:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4bf48de-5a3b-4705-9752-9007f661f9c7</guid><dc:creator>Cello</dc:creator><description>&lt;p&gt;Yes, the blinking works. But when I connect the dev kit with my smartphone and the nRF Connect App the LED is off. Usually it should be on. After disconnecting the LED blinks correctly again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 changing advertising led to gpio and external led</title><link>https://devzone.nordicsemi.com/thread/229645?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 14:15:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:131497fd-7f6b-44af-b757-0e721000a873</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Could you modify #define LED_STOP 20 to 22? Please let me know this helps or not.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 changing advertising led to gpio and external led</title><link>https://devzone.nordicsemi.com/thread/229223?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 13:15:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40de06ac-395b-43f0-8bb2-3e8bc6c2ed03</guid><dc:creator>Cello</dc:creator><description>&lt;p&gt;Okay thanks. I changed the pin number to GPIO pin 22 to see if the external connected LED starts blinking for advertising but the external LED stays on the whole time. Do I have to change other parts in the code?&lt;/p&gt;
&lt;p&gt;Code from pca10040.h&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// LEDs definitions for PCA10040
#define LEDS_NUMBER    4

#define LED_START      17
#define LED_1          22
#define LED_2          18
#define LED_3          19
#define LED_4          20
#define LED_STOP       20&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 changing advertising led to gpio and external led</title><link>https://devzone.nordicsemi.com/thread/229201?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 11:50:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2863b06-e75e-4862-9e68-28e635bd4300</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The nRF52832DK&amp;nbsp;&lt;a title="Buttons and LEDs" href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/hw_btns_leds.html?cp=4_2_4_5_4"&gt;Buttons and LEDs&lt;/a&gt;&amp;nbsp;&lt;span&gt;use the GPIOs from P0.13 to P0.20.&lt;/span&gt;&amp;nbsp;It&lt;span&gt;s definitions are in the &amp;lt;nRF5_SDK&amp;gt;\components\boards\pca10040.h. You can take a look.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>