In SDK12.2 init timer user APP_TIMER_APPSH_INIT(APP_TIMER_PRESCALER, APP_TIMER_OP_QUEUE_SIZE, true);
but when I want to use more timer,how can i add the number?
In SDK12.2 init timer user APP_TIMER_APPSH_INIT(APP_TIMER_PRESCALER, APP_TIMER_OP_QUEUE_SIZE, true);
but when I want to use more timer,how can i add the number?
I am not sure what you are asking about, but if you want to specify maximum number of timers (as it used to be in older SDK), you don't need to do that anymore. Memory is automatically reserved for each APP_TIMER_DEF(m_something_timer) instance. More info about app_timer library can be found here
I am not sure what you are asking about, but if you want to specify maximum number of timers (as it used to be in older SDK), you don't need to do that anymore. Memory is automatically reserved for each APP_TIMER_DEF(m_something_timer) instance. More info about app_timer library can be found here