Hi, can anyone explain to me about this example in this link with details : github.com/.../main.c I'm a newbie in nordic and i found it difficult to understand this example. Kindly assist and reply asap. Thanks!
Hi, can anyone explain to me about this example in this link with details : github.com/.../main.c I'm a newbie in nordic and i found it difficult to understand this example. Kindly assist and reply asap. Thanks!
Indeed - it is difficult to assist when it's not clear what assistance you require!
You say you are "a newbie in nordic" - do you have any prior programming experience at all? Do you have any prior experience with microcontrollers?
You can use the Ticker class like is shown in the HRM example, with something like ticker_task2.attach_us(callback_function, 100)
. I have not tested it though to see if it actually fires every 100us. You can also try to use the code found on github, but I guess you will get a compile error complaining about multiple definitions of void RTC_IRQHandler(void)
.
You can use the Ticker class like is shown in the HRM example, with something like ticker_task2.attach_us(callback_function, 100)
. I have not tested it though to see if it actually fires every 100us. You can also try to use the code found on github, but I guess you will get a compile error complaining about multiple definitions of void RTC_IRQHandler(void)
.