Swimate V2 without RTOS code
Dependencies: Adafruit_GFX_128x64 DS3231 PinDetect SDFileSystem USBDevice mbed RealtimeMath MODSERIAL
log_data.h@24:f2503d1256ad, 2014-06-09 (annotated)
- Committer:
- ellingjp
- Date:
- Mon Jun 09 04:55:16 2014 +0000
- Revision:
- 24:f2503d1256ad
- Parent:
- 22:9350752f5414
Using RTC filenames
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ellingjp | 8:8430a5c0914c | 1 | #ifndef _LOG_FILE_H |
ellingjp | 8:8430a5c0914c | 2 | #define _LOG_FILE_H |
ellingjp | 8:8430a5c0914c | 3 | |
ellingjp | 8:8430a5c0914c | 4 | #include "helper_3dmath.h" |
ellingjp | 9:a711b5b34d73 | 5 | #define ACCEL_LOG "/sd/data.log" |
ellingjp | 9:a711b5b34d73 | 6 | #define SPLIT_LOG "/sd/splits.log" |
ellingjp | 15:002bac432234 | 7 | #define PEAK_LOG "/sd/peaks.log" |
ellingjp | 8:8430a5c0914c | 8 | |
ellingjp | 20:294eaeaf2ebb | 9 | bool log_init(); |
ellingjp | 21:2fa676f214fe | 10 | bool log_data(int time_ms, VectorInt16 *data); |
ellingjp | 21:2fa676f214fe | 11 | bool log_data(int time_ms, int split); |
ellingjp | 8:8430a5c0914c | 12 | bool log_close(); |
ellingjp | 8:8430a5c0914c | 13 | |
ellingjp | 8:8430a5c0914c | 14 | #endif // _LOG_FILE_H |