Hi All,
I am using nRF51822 for my application.
how to change the App timer Interval dynamically means i have to change the timer interval before timeout.
Hi All,
I am using nRF51822 for my application.
how to change the App timer Interval dynamically means i have to change the timer interval before timeout.
Start the timer with timeout of 90. When it goes off, decide whether you want 10 more or 100 more. Or do you have some event before the timeout that tells you you want to increase the timer? If so, then you can save the time when you start the timer, and when the event occurs, stop the timer and do math on nowTime - savedTime to calculate the new timeout.
Start the timer with timeout of 90. When it goes off, decide whether you want 10 more or 100 more. Or do you have some event before the timeout that tells you you want to increase the timer? If so, then you can save the time when you start the timer, and when the event occurs, stop the timer and do math on nowTime - savedTime to calculate the new timeout.