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
  • Hello Wojtek can you share any sample Peripheral code for SDK 11 prepared by you. It would be great help from your side. If you want i can share you my Email ID:- jayesh1.embedded@gmail.com Right now i am using soft device "s130_nrf51_2.0.0_softdevice" for SDK 11. But while debugging i am not getting yellow pointer on 1st line of Main routine infact i am not getting only yellow cursor. Am i using wrong soft device ?

Reply
  • Hello Wojtek can you share any sample Peripheral code for SDK 11 prepared by you. It would be great help from your side. If you want i can share you my Email ID:- jayesh1.embedded@gmail.com Right now i am using soft device "s130_nrf51_2.0.0_softdevice" for SDK 11. But while debugging i am not getting yellow pointer on 1st line of Main routine infact i am not getting only yellow cursor. Am i using wrong soft device ?

Children
No Data