AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Committer:
sillevl
Date:
Thu Feb 09 12:28:56 2017 +0000
Revision:
27:f29805113454
Parent:
11:50572814f73e
ARCHIVE WIP, not working (crashes, cause unknown)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sillevl 4:2c91c9eccf3a 1 #include "Button.h"
sillevl 4:2c91c9eccf3a 2
sillevl 11:50572814f73e 3 Button::Button(PinName buttonPin) : DigitalIn(buttonPin){
sillevl 11:50572814f73e 4
sillevl 4:2c91c9eccf3a 5
sillevl 11:50572814f73e 6 //_interrupt = new InterruptIn(buttonPin);
sillevl 11:50572814f73e 7 // _interrupt.rise(this, &Counter::increment);
sillevl 11:50572814f73e 8 }
sillevl 11:50572814f73e 9
sillevl 11:50572814f73e 10 Button::operator int() {
sillevl 11:50572814f73e 11 return read();
sillevl 4:2c91c9eccf3a 12 }