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.
Misc/SerialOutputLogger.h@13:34f7f783ad24, 2016-02-05 (annotated)
- Committer:
- mborchers
- Date:
- Fri Feb 05 16:06:44 2016 +0000
- Revision:
- 13:34f7f783ad24
L?ngsregelung ausgelagert
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mborchers | 13:34f7f783ad24 | 1 | #ifndef SERIAL_OUTPUT_LOGGER_H_ |
mborchers | 13:34f7f783ad24 | 2 | #define SERIAL_OUTPUT_LOGGER_H_ |
mborchers | 13:34f7f783ad24 | 3 | |
mborchers | 13:34f7f783ad24 | 4 | #include <mbed.h> |
mborchers | 13:34f7f783ad24 | 5 | #include "Periphery/SupportSystem.h" |
mborchers | 13:34f7f783ad24 | 6 | |
mborchers | 13:34f7f783ad24 | 7 | class SerialOutputLogger { |
mborchers | 13:34f7f783ad24 | 8 | |
mborchers | 13:34f7f783ad24 | 9 | private: |
mborchers | 13:34f7f783ad24 | 10 | Serial *serialPort; |
mborchers | 13:34f7f783ad24 | 11 | IMU_RegisterDataBuffer_t *imuRegisterDataBuffer; |
mborchers | 13:34f7f783ad24 | 12 | RadioDecoder_RegisterDataBuffer_t *radioDecoderRegisterDataBuffer; |
mborchers | 13:34f7f783ad24 | 13 | public: |
mborchers | 13:34f7f783ad24 | 14 | SerialOutputLogger(Serial *serialPort, IMU_RegisterDataBuffer_t *imuRegisterDataBuffer, RadioDecoder_RegisterDataBuffer_t *radioDecoderRegisterDataBuffer); |
mborchers | 13:34f7f783ad24 | 15 | void writeRadioDecoderDataLog(bool csv); |
mborchers | 13:34f7f783ad24 | 16 | void writeImuDataLog(bool csv); |
mborchers | 13:34f7f783ad24 | 17 | }; |
mborchers | 13:34f7f783ad24 | 18 | |
mborchers | 13:34f7f783ad24 | 19 | #endif |