Nicer time print

This commit is contained in:
Nigel Barink 2021-05-22 19:24:29 +01:00
parent e84d196b00
commit 595a7d5163

View File

@ -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);
}