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/button.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 | |
ketjow | 0:9a59cffaafad | 4 | class Button : public DigitalIn, public Signal |
ketjow | 0:9a59cffaafad | 5 | { |
ketjow | 0:9a59cffaafad | 6 | public: |
ketjow | 0:9a59cffaafad | 7 | Button(const string& name, const PinName pin, Logger& logger); |
ketjow | 0:9a59cffaafad | 8 | |
ketjow | 0:9a59cffaafad | 9 | void PrintState(); |
ketjow | 0:9a59cffaafad | 10 | }; |