<?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>GPIOTE Output Pin High/Low Is Reversed (LED Blinking Test)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81936/gpiote-output-pin-high-low-is-reversed-led-blinking-test</link><description>Good evening, 
 From testing my Nano 33 BLE , I&amp;#39;ve discovered that the following settings are reversed with respect to &amp;quot;High&amp;quot; and &amp;quot;Low&amp;quot;, i.e., LEDs light up for Low, and turn off for High 
 For testing purposes I&amp;#39;m running the following program compiled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 21 Nov 2021 15:50:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81936/gpiote-output-pin-high-low-is-reversed-led-blinking-test" /><item><title>RE: GPIOTE Output Pin High/Low Is Reversed (LED Blinking Test)</title><link>https://devzone.nordicsemi.com/thread/339926?ContentTypeID=1</link><pubDate>Sun, 21 Nov 2021 15:50:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c629290c-703e-4766-8a31-d4e965286730</guid><dc:creator>GaryDT</dc:creator><description>&lt;p&gt;I found an explanation here...&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/pdf/nRF52840_DK_User_Guide_v1.2.pdf"&gt;nRF52840 Development Kit (User Guide)&lt;/a&gt;&amp;nbsp;(See quote below from page 30 of the guide)&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;em&gt;The LEDs are active low, meaning that writing a logical zero (&amp;#39;0&amp;#39;) to the output pin will illuminate the LED&lt;/em&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit...&lt;/strong&gt; My apologies. I was wrong before, i.e., the High/Low is &lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Not&lt;/span&gt;&lt;/strong&gt; reversed...&lt;/p&gt;
&lt;p&gt;Incidentally, I&amp;#39;ve had a USB PicoScope for about 1 week, and finally have the chance to play around a little more this afternoon. So, after a quick Google search I found that I needed to add &amp;quot;Port&amp;nbsp; &amp;lt;&amp;lt; GPIOTE_CONFIG_PORT_Pos&amp;quot; to test other than via LEDs.&lt;/p&gt;
&lt;p&gt;So for pin D10 (P1.02), the following is required... PIN_GPIO (2) and Port (1). I now have my PicoScope set to 2 s/div and +2 V, and I can clearly see the High and Low occurring correctly.&lt;/p&gt;
&lt;p&gt;Problem solved&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f600.svg" title="Grinning"&gt;&amp;#x1f600;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>