#include <Button.h>
◆ Button()
Button::Button |
( |
int |
pin, |
|
|
int |
id = 99 |
|
) |
| |
|
inline |
◆ check()
◆ getClickInterval()
int Button::getClickInterval |
( |
| ) |
|
|
inline |
◆ getHoldInterval()
int Button::getHoldInterval |
( |
| ) |
|
|
inline |
◆ getId()
◆ getRepeatInterval()
int Button::getRepeatInterval |
( |
| ) |
|
|
inline |
◆ getState()
bool Button::getState |
( |
| ) |
|
|
inline |
◆ initInterrupts()
void Button::initInterrupts |
( |
void(*)() |
function | ) |
|
|
inline |
◆ setEventHandler()
void Button::setEventHandler |
( |
void(*)(Button *, uint8_t, bool) |
function | ) |
|
|
inline |
◆ tick()
void ICACHE_RAM_ATTR Button::tick |
( |
| ) |
|
|
inline |
◆ kEventClicked
const uint8_t Button::kEventClicked = 2 |
|
static |
◆ kEventHeld
const uint8_t Button::kEventHeld = 3 |
|
static |
◆ kEventPressed
const uint8_t Button::kEventPressed = 0 |
|
static |
◆ kEventReleased
const uint8_t Button::kEventReleased = 1 |
|
static |
◆ kEventTick
const uint8_t Button::kEventTick = 4 |
|
static |
The documentation for this class was generated from the following file: