i am going through the bsp tutorial
what is the meaning of
how often we want the application timer to tick ?
i am going through the bsp tutorial
what is the meaning of
how often we want the application timer to tick ?
It will affect a lot of things. E.g app_button_init() in bsp.c uses the value calculated by APP_TIMER_TICKS to calculate the delay from a GPIOTE event until a button is reported as pushed (detection_delay). If you change it to 1000ms and run the code, you will notice that you have to push the button 10x longer for the button to be reported as pushed.
It will affect a lot of things. E.g app_button_init() in bsp.c uses the value calculated by APP_TIMER_TICKS to calculate the delay from a GPIOTE event until a button is reported as pushed (detection_delay). If you change it to 1000ms and run the code, you will notice that you have to push the button 10x longer for the button to be reported as pushed.