AbleButtons V0.2.0
Lightweight button library for Arduino.
 
Loading...
Searching...
No Matches
Pins.cpp
Go to the documentation of this file.
1/**
2 * @file Pins.cpp Implementation of the Pin class and subclasses.
3 *
4 * @copyright Copyright (c) 2022 John Scott.
5 */
6#include "Pins.h"
7
8uint8_t able::Pin::autoId_ = 0;
10uint16_t able::DebouncedPin::heldTime_ = 1000;
11uint32_t able::DebouncedPin::idleTime_ = 60000;
Definition of the Pin class and subclasses (DebouncedPin, ClickerPin), providing debounce logic when ...
static uint32_t idleTime_
Time required for button to be idle.
Definition: Pins.h:207
static uint8_t debounceTime_
Time required to debounce all input pins.
Definition: Pins.h:205
static uint16_t heldTime_
Time required for button to be held.
Definition: Pins.h:206
static uint16_t clickTime_
Time required for button to be double-clicked.
Definition: Pins.h:361
static uint8_t autoId_
Auto-assigned button identifier.
Definition: Pins.h:70