This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Add Multiple Timers in sdk 11 (S130)

I am developing an code which requires use of multiple Timers. I am using Sdk 11 here when i try to initialize timer there is no field for APP_TIMER_MAX_TIMERS in APP_TIMER_INIT function. Before this i was using Sdk 6.1.0 and in that there was provision for choosing number of timers.

Even i need to use SCHEDULER but there is no field for enabling scheduler instead of that there is SCHEDULER_FUNC argument. Can anybody help me out with this since i am new to this sdk.

For reference i am attaching routine from both SDKs

Sdk 11 = APP_TIMER_INIT(PRESCALER, OP_QUEUES_SIZE, SCHEDULER_FUNC)
Sdk 6 = APP_TIMER_INIT(PRESCALER, MAX_TIMERS, OP_QUEUES_SIZE, USE_SCHEDULER)

Parents Reply Children
No Data
Related