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: AdaFruit_RGBLCDShield MCP23017 mbed RTclock
Fork of MCP_test by
time_helper.h@10:3fcab08717fc, 2014-08-10 (annotated)
- Committer:
- vtraveller
- Date:
- Sun Aug 10 12:34:44 2014 +0000
- Revision:
- 10:3fcab08717fc
- Child:
- 11:96146db429de
Added module system.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| vtraveller | 10:3fcab08717fc | 1 | #ifndef __TIME_HELPER_H__ |
| vtraveller | 10:3fcab08717fc | 2 | #define __TIME_HELPER_H__ |
| vtraveller | 10:3fcab08717fc | 3 | |
| vtraveller | 10:3fcab08717fc | 4 | #include <time.h> |
| vtraveller | 10:3fcab08717fc | 5 | |
| vtraveller | 10:3fcab08717fc | 6 | void GetTime(tm & out_sTM); |
| vtraveller | 10:3fcab08717fc | 7 | |
| vtraveller | 10:3fcab08717fc | 8 | void SetTime |
| vtraveller | 10:3fcab08717fc | 9 | ( |
| vtraveller | 10:3fcab08717fc | 10 | uint8_t in_nHour, |
| vtraveller | 10:3fcab08717fc | 11 | uint8_t in_nMin, |
| vtraveller | 10:3fcab08717fc | 12 | uint8_t in_nDay, |
| vtraveller | 10:3fcab08717fc | 13 | uint8_t in_nMonth, |
| vtraveller | 10:3fcab08717fc | 14 | uint16_t in_nYear |
| vtraveller | 10:3fcab08717fc | 15 | ); |
| vtraveller | 10:3fcab08717fc | 16 | |
| vtraveller | 10:3fcab08717fc | 17 | #endif /* __TIME_HELPER_H__ */ |
