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
Revision 13:91350588d530, committed 2018-07-11
- Comitter:
- DVLevine
- Date:
- Wed Jul 11 07:06:04 2018 -0400
- Parent:
- 12:c09a50d9469a
- Commit message:
- added /fs/ to be able to actually read and write to text file denoting log number
Changed in this revision
dataRecorder.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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"); }