<?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>Advertise when pin high. Do not advertise when pin is low.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60931/advertise-when-pin-high-do-not-advertise-when-pin-is-low</link><description>Hello community 
 I want to advertise when physical pin 0.24 is high, and stop advertising when pin 0.24 is low. For this, I based my code on the Beacon Transmitter Sample Application and looking at the Pin Change Interrupt Example . 
 Right now, I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 02 May 2020 12:29:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60931/advertise-when-pin-high-do-not-advertise-when-pin-is-low" /><item><title>RE: Advertise when pin high. Do not advertise when pin is low.</title><link>https://devzone.nordicsemi.com/thread/247713?ContentTypeID=1</link><pubDate>Sat, 02 May 2020 12:29:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4aa9c321-2cad-4841-874b-4f33e69d4e57</guid><dc:creator>Adam Westbrook</dc:creator><description>&lt;p&gt;EDIT: I just solved it by defining a second pin &amp;#39;#define PIN_IN NRF_GPIO_PIN_MAP(0,20)&amp;#39;.&lt;/p&gt;
&lt;p&gt;Then I just assigned the high to low interrupt to this pin.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>