A set of data recording functions to locally store data in a circular buffer, with functions for offloading to an SD Card when convenient. dataRecorderr.h shows accessible functions to the main program - all direct SD operations are abstracted away by the library. When using this library, #include dataRecorder.h
Dependencies: sd-driver_compatible_with_MAX32630FTHR
Fork of CircularBufferSDCardLib by
Diff: dataRecorder.cpp
- Revision:
- 13:91350588d530
- Parent:
- 12:c09a50d9469a
--- a/dataRecorder.cpp Fri Apr 27 02:11:18 2018 -0400 +++ b/dataRecorder.cpp Wed Jul 11 07:06:04 2018 -0400 @@ -139,5 +139,5 @@ } int DataRecorder::getTrialNumAndIncrement(){ - return m_saveBuddy->readAndIncrement("trialNum.txt"); + return m_saveBuddy->readAndIncrement("/fs/trialNum.txt"); }