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

Committer:
ketjow
Date:
2016-02-20
Revision:
1:446154224f92
Parent:
0:9a59cffaafad
Child:
2:a13cde5c679c

File content as of revision 1:446154224f92:

/*!
  @file slider.hpp

  The header of the slider sensor signal class.

  @par Full Description
  The header of the slider sensor signal class.

  @if REVISION_HISTORY_INCLUDED
  @par Edit History
  @li [0]    wojciech.rynczuk@wp.pl    20-JAN-2015    Initial file revision.
  @endif

  @ingroup Signal

  @par Copyright (c) MMXV Wojciech Rynczuk

  Distributed under MIT License

*/

#include "mbed.h"
#include "signal.hpp"
#include "TSISensor.h"

class Slider : public Signal
{
  public:
  Slider(const string& name, Logger& logger);
  
  void PrintState();
  
  private:
  TSISensor  m_Slider;
  uint32_t   m_SliderPrev;
  uint32_t   m_SliderCurr;
};