<?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 turn off and turn on led using same button using external interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47319/how-to-turn-off-and-turn-on-led-using-same-button-using-external-interrupt</link><description>hello. 
 i am new to nrf52832 
 my question is when i press the button it will goes to interrupt handler then turn on the led if i press the same button led will turn off 
 kindly give any solution for turn on and off led with same button using external</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 May 2019 13:55:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47319/how-to-turn-off-and-turn-on-led-using-same-button-using-external-interrupt" /><item><title>RE: how to turn off and turn on led using same button using external interrupt</title><link>https://devzone.nordicsemi.com/thread/187303?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 13:55:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fe6d8df-41c1-4707-b165-93bf2644691b</guid><dc:creator>gain</dc:creator><description>&lt;p&gt;Thank you its working&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to turn off and turn on led using same button using external interrupt</title><link>https://devzone.nordicsemi.com/thread/187281?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 13:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1903e5e8-17de-43fe-b6ea-7c3e7fd0e111</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Then you should replace&amp;nbsp;GPIOTE_CONFIG_IN_SENSE_TOGGLE in the example code with&amp;nbsp;GPIOTE_CONFIG_IN_SENSE_LOTOHI or&amp;nbsp;GPIOTE_CONFIG_IN_SENSE_HITOLO.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to turn off and turn on led using same button using external interrupt</title><link>https://devzone.nordicsemi.com/thread/187255?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 12:08:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:611c22b9-8902-4ef1-a06e-2e0a4743f820</guid><dc:creator>gain</dc:creator><description>&lt;p&gt;pin change example led toggles.Here&amp;nbsp; the question is if we press and release the button led will on state if again press and release the button led will off what are the changes i should do in pin change interrupt example&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to turn off and turn on led using same button using external interrupt</title><link>https://devzone.nordicsemi.com/thread/187236?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:54:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cac62ff-74b6-41f5-9b80-7d9d7fb1f502</guid><dc:creator>gain</dc:creator><description>&lt;p&gt;yes but my requirement is when i press the button led will be on position untill we press the same button again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to turn off and turn on led using same button using external interrupt</title><link>https://devzone.nordicsemi.com/thread/187235?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11f346c2-6b20-451c-9c15-3ecafadc712c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/pin_change_int_example.html?cp=5_1_4_6_18"&gt;Pin Change Interrupt Example&lt;/a&gt; does exactly this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to turn off and turn on led using same button using external interrupt</title><link>https://devzone.nordicsemi.com/thread/187228?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96da4a46-ab49-4187-9dae-539f2f911472</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Have you looked at the SDK examples?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>