pushButton

Signal Input/Output

A simple library for Push Buttons.
Supports wasPressed, nClick, wasReleased, beenPressedFor, releasedAfter and retentionState methods using non-blocking code (delay function is not used). When using ESP32, the library will use xTaskGetTickCount() instead of millis() to avoid FreeRTOS task instability.

Author: Italo Coelho

Maintainer: Italo Coelho

Read the documentation

Compatibility

This library is compatible with all architectures so you should be able to use it on all the Arduino boards.

Releases

To use this library, open the Library Manager in the Arduino IDE and install it from there.