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?
With prescaler 0, the RTC will run at 32.768 KHz which means 32768 counts per second. This means that the CC[0] needs to be initialized and incremented with 32768 instead of 1000. I suggest that you read the Reference Manual chapter about RTC to get a better understanding of how it works.
With prescaler 0, the RTC will run at 32.768 KHz which means 32768 counts per second. This means that the CC[0] needs to be initialized and incremented with 32768 instead of 1000. I suggest that you read the Reference Manual chapter about RTC to get a better understanding of how it works.