![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
basic lightning detector with gps and sd card logging
Dependencies: AS3935 AdafruitGPS SDFileSystem TSI mbed ConfigFile
datetime.h@8:f8830b6c6d9b, 2015-06-30 (annotated)
- Committer:
- ftagius
- Date:
- Tue Jun 30 21:13:18 2015 +0000
- Revision:
- 8:f8830b6c6d9b
add code to use the rtc to keep track of time
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ftagius | 8:f8830b6c6d9b | 1 | #include "rtc_api.h" |
ftagius | 8:f8830b6c6d9b | 2 | |
ftagius | 8:f8830b6c6d9b | 3 | void SetDateTime |
ftagius | 8:f8830b6c6d9b | 4 | (int year |
ftagius | 8:f8830b6c6d9b | 5 | ,int mon |
ftagius | 8:f8830b6c6d9b | 6 | ,int day |
ftagius | 8:f8830b6c6d9b | 7 | ,int hour |
ftagius | 8:f8830b6c6d9b | 8 | ,int min |
ftagius | 8:f8830b6c6d9b | 9 | ,int sec |
ftagius | 8:f8830b6c6d9b | 10 | ); |
ftagius | 8:f8830b6c6d9b | 11 | |
ftagius | 8:f8830b6c6d9b | 12 | void ShowDateTime(); |
ftagius | 8:f8830b6c6d9b | 13 | |
ftagius | 8:f8830b6c6d9b | 14 | extern struct tm Clock; |