Merge into main the new state of the operating system/kernel #1
@ -149,7 +149,7 @@ extern "C" {
|
|||||||
while (true){
|
while (true){
|
||||||
// Read time indefinetely
|
// Read time indefinetely
|
||||||
read_rtc();
|
read_rtc();
|
||||||
printf( "(YY-MM-DD h:mm:ss): %2d-%2d-%2d %2d:%2d:%2d\r" ,year, month, day, hour, minute, second);
|
printf( "UTC time: %2d-%2d-%2d %2d:%2d:%2d : (YY-MM-DD h:mm:ss)\r" ,year, month, day, hour, minute, second);
|
||||||
delay(1000);
|
delay(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user