<?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>Application Timer Tutorial with nRF52 SDK version 0.9.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11822/application-timer-tutorial-with-nrf52-sdk-version-0-9-2</link><description>I can not find the macro: 
 APP_TIMER_DEF(m_led_a_timer_id);
 
 How do I create the timer ID with the SDK 0.9.2 for the nRF52?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Feb 2016 07:59:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11822/application-timer-tutorial-with-nrf52-sdk-version-0-9-2" /><item><title>RE: Application Timer Tutorial with nRF52 SDK version 0.9.2</title><link>https://devzone.nordicsemi.com/thread/44710?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2016 07:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf2a5d71-ea8f-4b18-84c3-7d4db41427bb</guid><dc:creator>schoensn</dc:creator><description>&lt;p&gt;thank you for your help. in the tutorial it was not clear for me which code i have to use for the nRF52 SDK 0.9.2, but now it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application Timer Tutorial with nRF52 SDK version 0.9.2</title><link>https://devzone.nordicsemi.com/thread/44709?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2016 07:04:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b9f5510-3dc0-46ec-bbf5-2aa65710ad68</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;As suggested by several others, you would probably be better off switching to SDK 11 as soon as possible.&lt;/p&gt;
&lt;p&gt;However, to answer your question you should note that the &lt;a href="https://devzone.nordicsemi.com/tutorials/19/"&gt;tutorial&lt;/a&gt; explains the differences in API for nRF51 SDK 9 and 10. The app timer in nRF52 SDK 0.9.2  has the same API as nRF51 SDK 9.&lt;/p&gt;
&lt;p&gt;There are essentially two differences. You have to declare the timer ID this way, rather than using the &lt;code&gt;APP_TIMER_DEF&lt;/code&gt; macro:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static app_timer_id_t                   m_led_a_timer_id;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and you have to initialize the apptimer library in the following way:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_MAX_TIMERS, APP_TIMER_OP_QUEUE_SIZE, false);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;where the &lt;code&gt;APP_TIMER_MAX_TIMERS&lt;/code&gt; is the max number of timers you are going to create.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application Timer Tutorial with nRF52 SDK version 0.9.2</title><link>https://devzone.nordicsemi.com/thread/44707?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2016 17:44:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9f1af02-0942-4f5f-bfb4-cec2f37f4ffc</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;If you aren&amp;#39;t stuck on SDK 0.9.2, I would recommend moving to SDK11 for the nRF52.  There will be no more nRF52 specific SDK updates now that they have merged 51 and 52 in SDK11 which also means unless you migrate to SDK 11+, you will never have a production tested SDK to build your application on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application Timer Tutorial with nRF52 SDK version 0.9.2</title><link>https://devzone.nordicsemi.com/thread/44708?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2016 17:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7ae12d9-383d-4212-a5a0-8154d7a6b5e0</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;If you found that macro, you probably took it from SDK newer than 0.9.2.
This library differs a bit between SDK 0.9.2 and newest nRF5 SDK.&lt;/p&gt;
&lt;p&gt;if you really want to use 0.9.2, use this instead:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static app_timer_id_t m_led_a_timer_id;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Each SDK (excluding legacy ones...) has it&amp;#39;s own documentation on infocenter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>