<?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 with different DETECTION DELAY</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4709/button-with-different-detection-delay</link><description>Hello, 
 I want to know if it is possible to configure a button to act with different Detection delay.
In other words I want to have a single button to be able to trigger two different functions depending on the time the button is pressed. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Dec 2014 08:15:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4709/button-with-different-detection-delay" /><item><title>RE: button with different DETECTION DELAY</title><link>https://devzone.nordicsemi.com/thread/16683?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2014 08:15:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04410f3f-5778-4c9e-b71e-9d2130982433</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;It sounds like you want to measure the duration of the button push. You can do this by by adding a timer to the button push interrupt and then you measure the duration until you get a button released. Based on the timer value you can have it do different functions as you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>