|
Arduino-GPIO
General Purpose Input/Output (GPIO) library for Arduino
|
#include <Button.h>

Public Member Functions | |
| Button () | |
| bool | ischanged () |
| bool | read () |
| operator bool () | |
| uint16_t | timestamp () |
Protected Attributes | |
| GPIO< PIN > | m_pin |
| uint16_t | m_timestamp |
| bool | m_state |
Debounced Input Pin template class using GPIO. The internal pullup resistor is used. The button/switch should be connected to ground.
| [in] | PIN | board pin for input signal. |
| [in] | DEBOUNCE | time limit (Default 50 ms). |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |