Oliver Wenzel / Mbed 2 deprecated mbed_amf_controlsystem_iO

Dependencies:   mbed-rtos mbed

Fork of mbed_amf_controlsystem by Matti Borchers

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