AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
board/Button.cpp
- Committer:
- sillevl
- Date:
- 2017-02-09
- Revision:
- 27:f29805113454
- Parent:
- 11:50572814f73e
File content as of revision 27:f29805113454:
#include "Button.h" Button::Button(PinName buttonPin) : DigitalIn(buttonPin){ //_interrupt = new InterruptIn(buttonPin); // _interrupt.rise(this, &Counter::increment); } Button::operator int() { return read(); }