|
Avionics
Core avionics package for CURE flight computers
|
Buffered CSV writer targeting large SD cards via SdFat. More...
#include <DataSaverBigSD.h>


Public Member Functions | |
| DataSaverBigSD (uint8_t csPin=5) | |
| bool | begin () |
| Initialize the SD card and open a streaming file. Returns true on success. | |
| int | saveDataPoint (const DataPoint &dataPoint, uint8_t name) override |
| Buffer a CSV line (timestamp,name,value) and flush in batches. | |
| void | end () |
| Flush pending bytes and close the file. | |
| Public Member Functions inherited from IDataSaver | |
| virtual int | saveDataPoint (float data, uint32_t timestamp_ms, uint8_t name) final |
| Convenience overload to construct and save a data point. | |
| virtual void | launchDetected (uint32_t launchTimestamp_ms) |
| Notification that launch has been detected. | |
Buffered CSV writer targeting large SD cards via SdFat.
Definition at line 29 of file DataSaverBigSD.h.
|
explicit |
Definition at line 8 of file DataSaverBigSD.cpp.
|
virtual |
Initialize the SD card and open a streaming file. Returns true on success.
Reimplemented from IDataSaver.
Definition at line 11 of file DataSaverBigSD.cpp.
| void DataSaverBigSD::end | ( | ) |
Flush pending bytes and close the file.
Definition at line 96 of file DataSaverBigSD.cpp.
|
overridevirtual |
Buffer a CSV line (timestamp,name,value) and flush in batches.
| dataPoint | Timestamped value to log. |
| name | 8-bit channel identifier written in the CSV line. |
Implements IDataSaver.
Definition at line 39 of file DataSaverBigSD.cpp.