CSE477 / swimate_v2

Dependencies:   Adafruit_GFX_128x64 DS3231 PinDetect SDFileSystem USBDevice mbed RealtimeMath MODSERIAL

Committer:
ellingjp
Date:
Thu Jun 05 19:03:42 2014 +0000
Revision:
15:002bac432234
Parent:
9:a711b5b34d73
Child:
17:fb8415091770
Child:
21:2fa676f214fe
Using updated peak detection

Who changed what in which revision?

UserRevisionLine numberNew 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 8:8430a5c0914c 9 bool log_init();
ellingjp 8:8430a5c0914c 10 bool log_data(VectorInt16 *data);
ellingjp 15:002bac432234 11 bool log_data(int split);
ellingjp 8:8430a5c0914c 12 bool log_close();
ellingjp 8:8430a5c0914c 13
ellingjp 8:8430a5c0914c 14 #endif // _LOG_FILE_H