Hi!
My LPC1769 its in 2090-01-18T03:25:35, how Can I set current date and time?
Also,Is there any way to sync board clock ?
Thnks!
Hi other time...
I'm setting current date and time with this registers :
<code> LPC_RTC->YEAR = atoi(year);
LPC_RTC->MONTH = atoi(month)+1;
LPC_RTC->DOM = atoi(day) +1;
LPC_RTC->HOUR = atoi(hour);
LPC_RTC->MIN = atoi(minute);
LPC_RTC->SEC = atoi(second);</code>
But after setting mote hangs out...
Its the right way to set time? I'm lost something?
Thnks!<code>
</code>