<?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>Help with calculating cadence from a pulsing input</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20352/help-with-calculating-cadence-from-a-pulsing-input</link><description>I am working on modifying the ant+ sdm example to hack my treadmill. Got the example running and talking to my Garmin watch and the display simulator. All of that seems straight forward and easy to manipulate. 
 Now I want to use one of the gp inputs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Mar 2017 12:06:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20352/help-with-calculating-cadence-from-a-pulsing-input" /><item><title>RE: Help with calculating cadence from a pulsing input</title><link>https://devzone.nordicsemi.com/thread/79327?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 12:06:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aa4bb26-d2f1-4b2d-9ced-a6d107c56e45</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Aha, I misunderstood.&lt;/p&gt;
&lt;p&gt;For timer, I would recommend you to use the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v13.0.0%2Fgroup__app__timer.html&amp;amp;cp=4_0_0_6_10_39"&gt;Application timer library&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A tutorial for getting started with the Application timer library can be found &lt;a href="https://devzone.nordicsemi.com/tutorials/19/"&gt;here&lt;/a&gt;. The tutorial was made for SDK 11, but I doubt that it has changed much for SDK 12 and 13.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with calculating cadence from a pulsing input</title><link>https://devzone.nordicsemi.com/thread/79326?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2017 17:25:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa9428ca-8939-447d-95a8-742e3ae06e45</guid><dc:creator>Brantel</dc:creator><description>&lt;p&gt;This is making my head swim.  Trouble finding enough clues in the documentation to find a starting place.   I want to determine the time between pulses of an input in milliseconds.  This is child&amp;#39;s play with an arduino and the arduino IDE but for a newbie on C and this DK board, I am struggling.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with calculating cadence from a pulsing input</title><link>https://devzone.nordicsemi.com/thread/79325?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2017 09:50:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3336200b-3e67-4aaa-920f-0f5e1a948c15</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Instead of using the BSP library to trigger events, I would recommend you to use GPIOTE. For a starting point, the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v13.0.0%2Fnrf_gpiote_example.html&amp;amp;cp=4_0_0_4_4_10"&gt;GPIOTE example&lt;/a&gt; in the SDK can be used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>