can i genrate milliseconds using nrf calendar example?? that is only printing upto seconds i want milliseconds too??
can i genrate milliseconds using nrf calendar example?? that is only printing upto seconds i want milliseconds too??
Hi
I don't see why that should be a problem, but you'll have to implement that into the project, as it is not there by default. You can start out by checking out the while (true) loop in the main() function of the nrf_calendar example. There you can see how seconds and minutes are set, and you can implement milliseconds in a similar fashion. You will also have to edit the nrf_cal_get_time_string() function in nrf_calendar.c to use milliseconds as well.
Best regards,
Simon
can u please explain what does this function does return_time = m_time + CAL_RTC->COUNTER / 8;
can u please explain what does this function does return_time = m_time + CAL_RTC->COUNTER / 8;