This program prompts the user for the current date and time and sets the Nucleo real time clock (RTC) accordingly. It demonstrates the use of C data and time functions (defined in time.h, which appears to be included by mbed). It also demonstrates reading keyboard input with echo and extracting numeric values from strings.
Fork of time_HelloWorld by
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
6:ac560c8872cd | 2017-11-01 | CSTritt | Fixed pass 0 problem in wait interval read loop. Cleaned up output (printfs) and comments. |
5:9e9f57a3f839 | 2017-10-31 | CSTritt | Initial version. |
4:3d395620e01a | 2017-06-23 | sarahmarshy |
"Update mbed-os" |
3:8593c9813840 | 2017-01-19 | mab5449 | Ported mbed OS 2 to mbed OS 5 |
2:c8b4159048f0 | 2015-03-27 | mbedAustin | Added license to main.c file. |
1:b61248062303 | 2014-09-21 | mbedAustin | updated libs |
0:b3b93997a0a6 | 2013-02-13 | mbed_official | time Hello World |