<?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>how to write the code?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59840/how-to-write-the-code</link><description>SDK14+Nrf52832: 
 I want use one pin as a interrupt pin. 
 when the pin level from high to low, execute A task; 
 while when the pin level is from low to high, execute B task, how to do this? some example can be more helpful. Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Apr 2020 05:58:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59840/how-to-write-the-code" /><item><title>RE: how to write the code?</title><link>https://devzone.nordicsemi.com/thread/243299?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 05:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e14daa3-b83f-4191-8e4b-8df2f4a5180a</guid><dc:creator>zk017</dc:creator><description>&lt;p&gt;ok, thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to write the code?</title><link>https://devzone.nordicsemi.com/thread/243295?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 04:29:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b566cb36-7b69-4397-96e5-1b73163142ad</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can see the BSP example&amp;nbsp; &lt;a href="https://infocenter.nordicsemi.com/index.jsp"&gt;link &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can assign task for (BUTTON_PRESSED)&lt;/p&gt;
&lt;p&gt;and also (BUTTON_RELEASE).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>