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
Signals/button.hpp
- Committer:
- ketjow
- Date:
- 2016-12-07
- Revision:
- 3:6d5e16097db0
- Parent:
- 2:a13cde5c679c
File content as of revision 3:6d5e16097db0:
/*!
@file button.hpp
The header of the button signal class.
@par Full Description
The header of the button signal class.
@if REVISION_HISTORY_INCLUDED
@par Edit History
@li [0] wojciech.rynczuk@wp.pl 20-JAN-2015 Initial file revision.
@endif
@ingroup Signal
The MIT License (MIT)
Copyright (c) 2016 Wojciech Rynczuk
*/
#include "mbed.h"
#include "signal.hpp"
class Button : public DigitalIn, public Signal
{
public:
Button(const string& name, const PinName pin, Logger& logger);
void PrintState();
};