<?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>I have a question on power switch using GPIO pin in nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112304/i-have-a-question-on-power-switch-using-gpio-pin-in-nrf52840</link><description>Hello! I am using nRF Connect SDK v2.6.0 
 I&amp;#39;m doing the firmware that will be applied to the custom device. 
 This device contains one button, to switch on/off the device on 3 sec long press I am reading 2 sensors data every 2msec continuosly and i am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Jul 2024 15:29:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112304/i-have-a-question-on-power-switch-using-gpio-pin-in-nrf52840" /><item><title>RE: I have a question on power switch using GPIO pin in nrf52840</title><link>https://devzone.nordicsemi.com/thread/491650?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 15:29:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11aef9dd-5e0b-4a7c-89a8-aef0e961505a</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can look at this sample&amp;nbsp;&lt;a href="https://github.com/martelmy/NCS_examples/tree/main/peripherals/long_press_button"&gt;https://github.com/martelmy/NCS_examples/tree/main/peripherals/long_press_button&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a question on power switch using GPIO pin in nrf52840</title><link>https://devzone.nordicsemi.com/thread/490560?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 09:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b06c0bd0-38a0-4d3d-8711-98bd81458b23</guid><dc:creator>Madhu Mohan Reddy</dc:creator><description>&lt;p&gt;I want to apply the long press(3 sec) button functionality to turn off the BLE and communications(in my case SPI)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I went through nRF9160 Feather blog its different&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I am facing difficulty to apply the long press button&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Now I am trying to implement press the same button for 3 sec&amp;nbsp; to turn/off the led.&lt;/p&gt;
&lt;p&gt;press the same button and change the state of led&lt;br /&gt;&lt;br /&gt;Please suggest some inputs&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thank you in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a question on power switch using GPIO pin in nrf52840</title><link>https://devzone.nordicsemi.com/thread/490037?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 17:05:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff3a4b3f-c019-4ab6-9925-2f4d7e3dabcd</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There is a blog&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/how-to-use-the-nrf9160-feather#mcetoc_1endf0lof2"&gt;(+) How to use the nRF9160 Feather - Blogs - Nordic Blog - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&amp;nbsp;you can look at how to use GPIO pin as switch.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also look at this sample&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/pmic/native/npm1300_one_button/README.html#overview"&gt;nPM1300: One button (nordicsemi.com)&lt;/a&gt;&amp;nbsp;to know button can control the device state. This sample controls LED, load switch and power mode of nPM1300 based on button press.&lt;/p&gt;
&lt;p&gt;One GPIO pin is configured here as an interrupt output which is used to signal the button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>