Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed vcdLogger vcdSignal
slider.hpp
00001 /*! 00002 @file slider.hpp 00003 00004 The header of the slider sensor signal class. 00005 00006 @par Full Description 00007 The header of the slider sensor signal class. 00008 00009 @if REVISION_HISTORY_INCLUDED 00010 @par Edit History 00011 @li [0] wojciech.rynczuk@wp.pl 20-JAN-2015 Initial file revision. 00012 @endif 00013 00014 @ingroup Signal 00015 00016 The MIT License (MIT) 00017 Copyright (c) 2016 Wojciech Rynczuk 00018 00019 */ 00020 00021 #include "mbed.h" 00022 #include "signal.hpp" 00023 #include "TSISensor.h" 00024 00025 class Slider : public Signal 00026 { 00027 public: 00028 Slider(const string& name, Logger& logger); 00029 00030 void PrintState(); 00031 00032 private: 00033 TSISensor m_Slider; 00034 uint32_t m_SliderPrev; 00035 uint32_t m_SliderCurr; 00036 };
Generated on Tue Jul 12 2022 21:39:12 by
1.7.2