I know that nrf51822 is not supported system tick handler ? I need system tick function. How can i make system tick function for nrf51822?
I know that nrf51822 is not supported system tick handler ? I need system tick function. How can i make system tick function for nrf51822?
I have posted some code in my answer to this thread. It implements a 1 ms tick using RTC1. Maybe this will meet your needs.
**[comprehension-question-timer](devzone.nordicsemi.com/.../comprehension-question-timer)**
Do not replace nrf51.h , you need it.
Replace the #include "nrf51_PF_Lib.h" with this:
extern uint32_t RTC1_Milliseconds; extern uint32_t RTC1_Seconds;
Do not replace nrf51.h , you need it.
Replace the #include "nrf51_PF_Lib.h" with this:
extern uint32_t RTC1_Milliseconds; extern uint32_t RTC1_Seconds;