#include <Button.h>
Public Member Functions | |
Button (int pin, bool invert=false, int debounce_delay=50) | |
bool | changed () |
bool | pressed () |
Private Attributes | |
bool | changed_ |
int | debouce_delay_ |
bool | invert_ |
unsigned long | last_debounce_time |
int | pin_ |
bool | prior_value |
Button::Button | ( | int | pin, |
bool | invert = false , |
||
int | debounce_delay = 50 |
||
) | [inline] |
bool Button::changed | ( | ) | [inline] |
bool Button::pressed | ( | ) | [inline] |
bool Button::changed_ [private] |
int Button::debouce_delay_ [private] |
bool Button::invert_ [private] |
unsigned long Button::last_debounce_time [private] |
int Button::pin_ [private] |
bool Button::prior_value [private] |