This is the vcdMaker demo project. See http://vcdmaker.org for details. vcdMaker is supposed to help engineers to debug their applications and systems. It transforms text log files into the VCD format which can be easily displayed as a waveform.
Dependencies: mbed vcdLogger vcdSignal
Diff: Logger/serialLogger.hpp
- Revision:
- 0:9a59cffaafad
- Child:
- 1:446154224f92
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Logger/serialLogger.hpp Fri Feb 12 21:38:04 2016 +0000 @@ -0,0 +1,23 @@ +#ifndef _SERIALLOGGER_HPP_ +#define _SERIALLOGGER_HPP_ + +#include "mbed.h" +#include "logger.hpp" + +class SerialLogger : public Logger { + + public: + SerialLogger(uint32_t n_Lines, uint32_t n_Characters); + ~SerialLogger(); + + virtual void Printf(const char* line); + virtual void AlarmFull(); + virtual uint32_t StartAction(); + virtual uint32_t StopAction(); + + private: + DigitalOut* alarm; + DigitalOut* rec_indicator; + Serial* serialOut; +}; +#endif \ No newline at end of file