<?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>Button detection delay</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/865/button-detection-delay</link><description>Hi, 
 I am using ble_app_hrs application as a reference code. 
 in our case i have gpio interrupt for every 25 ms. 
 what should i keep BUTTON_DETECTION_DELAY for 25ms gpio interrupt. 
 Kindly suggest me 
 Regards
Balaji</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Nov 2013 18:42:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/865/button-detection-delay" /><item><title>RE: Button detection delay</title><link>https://devzone.nordicsemi.com/thread/4242?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2013 18:42:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0a4cbbc-3fdc-4bb6-93be-e5498fa3180a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;BUTTON_DETECTION_DELAY is used for debouncing.
So if a signal is triggered and stay in active level for less than BUTTON_DETECTION_DELAY (ms), it will not be considered as button pressed.&lt;/p&gt;
&lt;p&gt;So depend on how long your signal be stayed in active level, you can set your BUTTON_DETECTION_DELAY accordingly to avoid glitch and noise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>