Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem mbed
Fork of PES4_Programme by
Diff: source/main.cpp
- Revision:
- 35:a9bf045dc014
- Parent:
- 34:9d6dd3a12641
- Child:
- 40:b5e533e1e033
--- a/source/main.cpp Tue Mar 27 10:56:49 2018 +0000 +++ b/source/main.cpp Tue Mar 27 11:05:41 2018 +0000 @@ -72,14 +72,14 @@ time.year = 18; pc.printf("set now time\r\n"); setTime(&time); - pc.printf("read time: %d:%d:%d, %d.%d.20%d, weekday: %d\r\n",time.hour, time.minute, time.second, time.day, time.month, time.year, time.weekday); + pc.printf("read time: %02d:%02d:%02d, %02d.%02d.20%02d, weekday: %d\r\n",time.hour, time.minute, time.second, time.day, time.month, time.year, time.weekday); state = 46; pc.printf("change state to: %d\r\n",state); break; case 46: wait(5); time = getTime(); - pc.printf("read time: %2d:%2d:%2d, %2d.%2d.20%2d, weekday: %d\r\n",time.hour, time.minute, time.second, time.day, time.month, time.year, time.weekday); + pc.printf("read time: %02d:%02d:%02d, %02d.%02d.20%02d, weekday: %d\r\n",time.hour, time.minute, time.second, time.day, time.month, time.year, time.weekday); state = 46; break; case 48: