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
mbed-os.lib@6:ac560c8872cd, 2017-11-01 (annotated)
- Committer:
- CSTritt
- Date:
- Wed Nov 01 15:53:48 2017 +0000
- Revision:
- 6:ac560c8872cd
- Parent:
- 4:3d395620e01a
Fixed pass 0 problem in wait interval read loop. Cleaned up output (printfs) and comments.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sarahmarshy |
4:3d395620e01a | 1 | https://github.com/ARMmbed/mbed-os/#c9e63f14085f5751ff5ead79a7c0382d50a813a2 |