Matti Borchers / Mbed 2 deprecated mbed_amf_controlsystem

Dependencies:   mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SerialOutputLogger.h Source File

SerialOutputLogger.h

00001 #ifndef SERIAL_OUTPUT_LOGGER_H_
00002 #define SERIAL_OUTPUT_LOGGER_H_
00003 
00004 #include <mbed.h>
00005 #include "Periphery/SupportSystem.h"
00006 
00007 class SerialOutputLogger {
00008 
00009 private:
00010     Serial *serialPort;
00011     IMU_RegisterDataBuffer_t *imuRegisterDataBuffer;
00012     RadioDecoder_RegisterDataBuffer_t *radioDecoderRegisterDataBuffer;
00013 public:
00014     SerialOutputLogger(Serial *serialPort, IMU_RegisterDataBuffer_t *imuRegisterDataBuffer, RadioDecoder_RegisterDataBuffer_t *radioDecoderRegisterDataBuffer);
00015     void writeRadioDecoderDataLog(bool csv);    
00016     void writeImuDataLog(bool csv);
00017 };
00018 
00019 #endif