<?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>Hi , anyone can say on how to configure the digital input and output in nrf52832..??</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21002/hi-anyone-can-say-on-how-to-configure-the-digital-input-and-output-in-nrf52832</link><description>My objective is , when the button is pressed , the led should glow and when am released the led should turn off.
Eventhough i have tried the example code of pin change interrupt , but it won&amp;#39;t works
Please note that , am externally interfaced the button</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Apr 2017 09:55:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21002/hi-anyone-can-say-on-how-to-configure-the-digital-input-and-output-in-nrf52832" /><item><title>RE: Hi , anyone can say on how to configure the digital input and output in nrf52832..??</title><link>https://devzone.nordicsemi.com/thread/82075?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 09:55:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2754bdd-f9ab-4a10-8d3a-942c27ddaaa1</guid><dc:creator>Reeshma</dc:creator><description>&lt;p&gt;ok sir , i got it , thank you so much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , anyone can say on how to configure the digital input and output in nrf52832..??</title><link>https://devzone.nordicsemi.com/thread/82074?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 09:40:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b4fa229-104b-42e5-bdc5-65b5f64c3269</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Reeshma&lt;/p&gt;
&lt;p&gt;As you mention the pin change interrupt example does exactly what you want. For it to work you will need to change the PIN_IN and PIN_OUT defines in the example to match the pins you have connected your button and led to. The defines should be changed to the port number of the pins you are using.
As an example, if you want the button to be on P0.22, and the led on P0.24 you would change the defines from&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define PIN_IN BSP_BUTTON_0
#define PIN_OUT BSP_LED_0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define PIN_IN 22
#define PIN_OUT 24
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jørn Frøysa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , anyone can say on how to configure the digital input and output in nrf52832..??</title><link>https://devzone.nordicsemi.com/thread/82073?ContentTypeID=1</link><pubDate>Sat, 01 Apr 2017 03:33:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fddebac-a547-4917-ae28-82df511a1145</guid><dc:creator>Reeshma</dc:creator><description>&lt;p&gt;yes sir, i have interfaced the buttons and leds other than those on the DK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , anyone can say on how to configure the digital input and output in nrf52832..??</title><link>https://devzone.nordicsemi.com/thread/82072?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2017 13:14:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9e7706a-773e-4864-9df7-3305b0a18089</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;What do you mean you are externally interfaced? Are you using buttons and leds other than those on the development kit? When you tried the example code, did it work as intended?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>