Nicer time print
This commit is contained in:
parent
e84d196b00
commit
595a7d5163
@ -149,7 +149,7 @@ extern "C" {
|
||||
while (true){
|
||||
// Read time indefinetely
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user