|
arduino-audio-tools
|
#include <AudioActions.h>
Public Member Functions | |
| Action ()=default | |
| virtual | ~Action () |
| virtual int | id () |
| virtual void | process () |
| virtual bool | readValue () |
Public Attributes | |
| void(* | actionOff )(bool pinStatus, int pin, void *ref) = nullptr |
| void(* | actionOn )(bool pinStatus, int pin, void *ref) = nullptr |
| ActiveLogic | activeLogic = ActiveHigh |
| int | debounceDelayValue = 500 |
| determines the value for the action | |
| unsigned long | debounceTimeout = 0 |
| bool | enabled = true |
| bool | lastState = true |
| int16_t | pin = -1 |
| std::function< bool(int)> | read_cb = nullptr |
| void * | ref = nullptr |
| int | touchLimit = 20 |
Protected Member Functions | |
| bool | readPin (int pin) |
|
default |
| ActiveLogic activeLogic = ActiveHigh |
| int debounceDelayValue = 500 |
determines the value for the action
| int16_t pin = -1 |
| int touchLimit = 20 |