<?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>Change LED pin indicating BLE advertisement</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114825/change-led-pin-indicating-ble-advertisement</link><description>Hi, 
 I want to change the LED pin that blinks to indicate BLE advertisement to pin 6. I have changed the LED_1 and LED_STOP in pca10040.h to 6: 
 
 I have also set NRF_LOG_BACKEND_UART_ENABLED in sdk_config.h to 0. 
 However, the LED only blinks 1 after</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Sep 2024 10:37:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114825/change-led-pin-indicating-ble-advertisement" /><item><title>RE: Change LED pin indicating BLE advertisement</title><link>https://devzone.nordicsemi.com/thread/503240?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 10:37:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:610d1506-dc21-4cf5-be07-826abb9f2fb1</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There could be other pin configurations still in effect (e.g. pin 6 is default pin for UART on the nRF52 DK.) However, since you have disabled UART and the behavior went good when fixing that other issue, I would not do much more than keep this at the back of my mind in case something similar resurfaced in the future. I consider this case closed.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change LED pin indicating BLE advertisement</title><link>https://devzone.nordicsemi.com/thread/503155?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 14:56:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f6d3feb-2127-4aa2-9084-e1933e5386e7</guid><dc:creator>HanCatNguyen</dc:creator><description>&lt;p&gt;Actually, I have just found out that it&amp;#39;s just the sprintf function I used in the GPIOTE interrupts. It works after changing it to snprintf instead.&lt;/p&gt;
&lt;p&gt;Thanks anyway,&lt;/p&gt;
&lt;p&gt;Han&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change LED pin indicating BLE advertisement</title><link>https://devzone.nordicsemi.com/thread/503145?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 14:14:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edca9c5f-c980-4ddb-bb68-b126ae44d0b4</guid><dc:creator>HanCatNguyen</dc:creator><description>&lt;p&gt;I have tried changing the other LED pins to other pins, but it still has the same problem (LED1 only blinks once then stops).&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:124px;max-width:235px;" height="124" src="https://devzone.nordicsemi.com/resized-image/__size/470x248/__key/communityserver-discussions-components-files/4/pastedimage1726755266896v1.png" width="235" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change LED pin indicating BLE advertisement</title><link>https://devzone.nordicsemi.com/thread/503132?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 12:51:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60f7cf90-91fd-4c8b-83f0-1d45d7a2a1ff</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see from the configuration snippet that you are using nRF5 SDK.&lt;/p&gt;
&lt;p&gt;There are quite a few default indication states in nRF5 SDK, using the available LEDs on the DK (sometimes also combinations of multiple LEDs.) See &lt;a href="https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/examples_bsp.html"&gt;BSP indication states&lt;/a&gt;. Trying to configure all four LEDs to the same pin may yield unexpected results. In order to change the pin used for the LED signalling advertising modes, you should only redefine LED_1.&lt;/p&gt;
&lt;p&gt;Please note that nRF5 SDK is our older SDK which is now in maintenance mode. For new projects, we recommend the newer nRF Connect SDK. See&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt; for details.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>