This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

app_button halting other timers

I am using the app_button to handle all incoming button presses. On a press detection I trigger an app_timer which handles tracking how long the button has been pushed, and triggers actions associate with how long it is pushes. For example, from a reset if the button is held for 4sec it turns on advertising and starts an LED flash sequence. These are all triggered at 4sec regardless of whether the user has released the button or not. However I am finding that the LED flashing timer is not properly triggered unless the button is released. If I keep holding/pressing the button nothing happens. I don't use any scheduler context in any of my app_timers as I am still in the dark as to what that actually does. Anyone know why the button pressing may be holding up all my app_timers?

Parents Reply Children
No Data
Related