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
Signals/slider.hpp@0:9a59cffaafad, 2016-02-12 (annotated)
- Committer:
- ketjow
- Date:
- Fri Feb 12 21:38:04 2016 +0000
- Revision:
- 0:9a59cffaafad
- Child:
- 1:446154224f92
vcdMaker demo
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ketjow | 0:9a59cffaafad | 1 | #include "mbed.h" |
ketjow | 0:9a59cffaafad | 2 | #include "signal.hpp" |
ketjow | 0:9a59cffaafad | 3 | #include "TSISensor.h" |
ketjow | 0:9a59cffaafad | 4 | |
ketjow | 0:9a59cffaafad | 5 | class Slider : public Signal |
ketjow | 0:9a59cffaafad | 6 | { |
ketjow | 0:9a59cffaafad | 7 | public: |
ketjow | 0:9a59cffaafad | 8 | Slider(const string& name, Logger& logger); |
ketjow | 0:9a59cffaafad | 9 | |
ketjow | 0:9a59cffaafad | 10 | void PrintState(); |
ketjow | 0:9a59cffaafad | 11 | |
ketjow | 0:9a59cffaafad | 12 | private: |
ketjow | 0:9a59cffaafad | 13 | TSISensor m_Slider; |
ketjow | 0:9a59cffaafad | 14 | uint32_t m_SliderPrev; |
ketjow | 0:9a59cffaafad | 15 | uint32_t m_SliderCurr; |
ketjow | 0:9a59cffaafad | 16 | }; |