Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed_amf_controlsystem by
Diff: Misc/SerialOutputLogger.h
- Revision:
- 13:34f7f783ad24
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Misc/SerialOutputLogger.h Fri Feb 05 16:06:44 2016 +0000 @@ -0,0 +1,19 @@ +#ifndef SERIAL_OUTPUT_LOGGER_H_ +#define SERIAL_OUTPUT_LOGGER_H_ + +#include <mbed.h> +#include "Periphery/SupportSystem.h" + +class SerialOutputLogger { + +private: + Serial *serialPort; + IMU_RegisterDataBuffer_t *imuRegisterDataBuffer; + RadioDecoder_RegisterDataBuffer_t *radioDecoderRegisterDataBuffer; +public: + SerialOutputLogger(Serial *serialPort, IMU_RegisterDataBuffer_t *imuRegisterDataBuffer, RadioDecoder_RegisterDataBuffer_t *radioDecoderRegisterDataBuffer); + void writeRadioDecoderDataLog(bool csv); + void writeImuDataLog(bool csv); +}; + +#endif \ No newline at end of file