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: main.cpp
- Revision:
- 5:0a4ff027086c
- Parent:
- 4:fe6d2823b7cb
--- a/main.cpp Thu Apr 05 01:22:57 2018 -0400 +++ b/main.cpp Thu Apr 05 04:08:32 2018 -0400 @@ -32,11 +32,11 @@ boba->logDistancePoint(d); boba->logDistancePoint(e); - boba->logTimeStamp(a); - boba->logTimeStamp(b); - boba->logTimeStamp(c); - boba->logTimeStamp(d); - boba->logTimeStamp(e); + boba->logTimeStamp(ta); + boba->logTimeStamp(tb); + boba->logTimeStamp(tc); + boba->logTimeStamp(td); + boba->logTimeStamp(te); printf("about to save\n"); @@ -47,6 +47,5 @@ printf("saved\n"); led1 = !led1; - }