AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Diff: board/Button.h
- Revision:
- 11:50572814f73e
- Parent:
- 4:2c91c9eccf3a
diff -r afc22465169e -r 50572814f73e board/Button.h --- a/board/Button.h Sun Dec 14 11:50:19 2014 +0000 +++ b/board/Button.h Wed Dec 31 15:27:43 2014 +0000 @@ -3,10 +3,14 @@ #include "mbed.h" -class Button{ +class Button : public DigitalIn{ public: - Button(PinName buttonPin); + Button(PinName buttonPin); + operator int(); + protected: + //InterruptIn* _interrupt; + }; #endif \ No newline at end of file