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: Signals/light.hpp
- Revision:
- 0:9a59cffaafad
- Child:
- 1:446154224f92
diff -r 000000000000 -r 9a59cffaafad Signals/light.hpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Signals/light.hpp Fri Feb 12 21:38:04 2016 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include "signal.hpp" + +class Light : public AnalogIn, public Signal +{ + public: + Light(const string& name, const PinName pin, Logger& logger); + + void PrintState(); + float m_LightPrev; + float m_LightCurr; +}; \ No newline at end of file