Nicer time print
This commit is contained in:
parent
48b65b2276
commit
83d220019c
@ -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