AbleButtons V0.2.0
Lightweight button library for Arduino.
 
Loading...
Searching...
No Matches
Pins.h File Reference

Definition of the Pin class and subclasses (DebouncedPin, ClickerPin), providing debounce logic when reading from an Arduino pin. More...

#include <Arduino.h>

Go to the source code of this file.

Classes

class  able::Pin
 Pin base class reading direct from the pin (without debouncing). More...
 
class  able::DebouncedPin
 Debouned Pin class. More...
 
class  able::ClickerPin
 Debounced pin class that remembers the previous debounced state. More...
 
class  able::DoubleClickerPin
 Pin class that counts state changes within a time-period. More...
 

Detailed Description

Definition of the Pin class and subclasses (DebouncedPin, ClickerPin), providing debounce logic when reading from an Arduino pin.

Each sub-class adds features for the pin (e.g. remembering clicks).

Definition in file Pins.h.