-
I've attached the complete changes. If anyone needs this too it can be found here.
For calling the
sd_softdevice_is_enabled
you haveifndef BLUETOOTH
there, it should beifdef
to skip this call in your case when bluetooth ( => and softdevice) is not enabled. The extra call won't hurt of course, just mentioning this in case anyone needs this too.In fact if BLUETOOTH is enabled it can be set to 1. It is only my case, where I can turn it off and on via NFC.stop()/start(), that needs this call.
Hi,
if i do
peek32(0x40000000+0x418)
i getSTATE = running
andSRC = RC
, so thats not the problem. However if i executepoke32(0x4000B000,1)
thesetInterval()
works so i assume that the RTC0 has not been started.So i made your suggested changes:
It looks like the PRESCALER configuration works like this. At least the
setInterval()
calls execute with the right interval.For now everything works so far i think. You helped me a lot! Thanks.
I've attached the complete changes. If anyone needs this too it can be found here.
1 Attachment