Hi,
I am using pca10040 board. i need to toggle a led in 5sec once. I tried to change the prescale value. But im not able to get that much time delay.
Can any one help me on this?
Have you tried using app_timer? It uses the RTC which will give you overflow at 512 seconds with prescaler 0. The RTC is also much more power efficient than using TIMER. See here for a tutorial on how to use it. You can also use the RTC directly, but be aware that RTC0 is used by SoftDevice and RTC1 is used by app_timer.
Have you tried using app_timer? It uses the RTC which will give you overflow at 512 seconds with prescaler 0. The RTC is also much more power efficient than using TIMER. See here for a tutorial on how to use it. You can also use the RTC directly, but be aware that RTC0 is used by SoftDevice and RTC1 is used by app_timer.