<?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>Can the Simple Hardware Abstraction Layer be used to control LEDs that are &amp;quot;active high&amp;quot;?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37559/can-the-simple-hardware-abstraction-layer-be-used-to-control-leds-that-are-active-high</link><description>Hi, 
 I am playing around with the the Bluetooth Mesh SDK (`nrf5_SDK_for_Mesh_v2.1.1_src`), more precisely with the light-switch `proxy server` example. The nRF52 DK&amp;#39;s LEDs are &amp;quot;active low&amp;quot;, but my custom board has &amp;quot;active high&amp;quot; LEDs. The firmware works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Feb 2021 07:02:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37559/can-the-simple-hardware-abstraction-layer-be-used-to-control-leds-that-are-active-high" /><item><title>RE: Can the Simple Hardware Abstraction Layer be used to control LEDs that are "active high"?</title><link>https://devzone.nordicsemi.com/thread/295941?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2021 07:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2068ee0-d51b-4d07-86ce-05a200508812</guid><dc:creator>Brainson </dc:creator><description>&lt;p&gt;what does it mean can you please tell me, same problem for me also.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the Simple Hardware Abstraction Layer be used to control LEDs that are "active high"?</title><link>https://devzone.nordicsemi.com/thread/144859?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 08:15:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5818ad4-bb12-407d-a6c1-df97ed0b657d</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Frank,&lt;/p&gt;
&lt;p&gt;Have you tried setting the hal_led_pin_set function to false to turn the LED on? You should just be able to update the&amp;nbsp;bool value argument to be the opposite of what the mesh sdk does. This should then work for active high LEDs.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>