Swimate V2 without RTOS code

Dependencies:   Adafruit_GFX_128x64 DS3231 PinDetect SDFileSystem USBDevice mbed RealtimeMath MODSERIAL

log_data.h

Committer:
ellingjp
Date:
2014-06-09
Revision:
24:f2503d1256ad
Parent:
22:9350752f5414

File content as of revision 24:f2503d1256ad:

#ifndef _LOG_FILE_H
#define _LOG_FILE_H

#include "helper_3dmath.h"
#define ACCEL_LOG "/sd/data.log"
#define SPLIT_LOG "/sd/splits.log"
#define PEAK_LOG "/sd/peaks.log"

bool log_init();
bool log_data(int time_ms, VectorInt16 *data);
bool log_data(int time_ms, int split);
bool log_close();

#endif // _LOG_FILE_H