hello ,how can i get something like this YYYY-MM-DD HH:MM:SS.mmm using rtc i dont want to use app timer
hello ,how can i get something like this YYYY-MM-DD HH:MM:SS.mmm using rtc i dont want to use app timer
I believe porting something like this to nRF5x (you haven't specified on which chip and SDK you want to achieve this btw.!!!) should solve the problem. Indeed it's quite a lot of code if you want to convert something HW "native" like RTC to something so unnatural like human time stamp... but if you find out where the actual RTC signal/events/ticks are propagated to that Adafruit library you should have problem solved.
https://github.com/adafruit/RTClib
I believe porting something like this to nRF5x (you haven't specified on which chip and SDK you want to achieve this btw.!!!) should solve the problem. Indeed it's quite a lot of code if you want to convert something HW "native" like RTC to something so unnatural like human time stamp... but if you find out where the actual RTC signal/events/ticks are propagated to that Adafruit library you should have problem solved.
https://github.com/adafruit/RTClib