<?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>custom led handler with the openthread COAP server example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81400/custom-led-handler-with-the-openthread-coap-server-example</link><description>I want to set an external LED on and off with the coap server example, but It doesn&amp;#39;t work. I tried two different methods. The uncommented one is more like a normal blinky and a static const struct device, and the commented one is inspired by the dk_buttons_and_leds</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Nov 2021 14:44:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81400/custom-led-handler-with-the-openthread-coap-server-example" /><item><title>RE: custom led handler with the openthread COAP server example</title><link>https://devzone.nordicsemi.com/thread/337735?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 14:44:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6eaf9004-0051-4be3-8f0a-9c3cbbbad946</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Dylan,&lt;/p&gt;
&lt;p&gt;Will simply adding the blew overlay make your external LED work? It will replace the original LIGHT_LED with your external LED GPIO.&lt;/p&gt;
&lt;p&gt;&amp;amp;led3{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gpios = &amp;lt;&amp;amp;gpio1&amp;nbsp;1&amp;nbsp;GPIO_ACTIVE_LOW&amp;gt;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; label = &amp;quot;Green LED 3&amp;quot;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; };&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;Best regards,&lt;/div&gt;
&lt;div&gt;Charlie&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>