2 #ifndef __buttonsCommanderSwitch_H__ 3 #define __buttonsCommanderSwitch_H__ 7 #ifndef NO_BUTTONSCOMMANDER 8 #ifndef NO_BUTTONSCOMMANDERSWITCH 38 unsigned long debounceDelay;
40 GPIO_pin_t lastSelectedPin;
67 static unsigned long loopOnePin(
unsigned long inId, GPIO_pin_t inPin,
unsigned long inPreviousId,
unsigned long inDebounceDelay,
68 byte *inpLastPinState,
unsigned long *inpLastDebounceTime,
bool inSendEvent =
true);
70 #ifdef COMMANDERS_PRINT_COMMANDERS 74 void printCommander();
unsigned long LastDebounceTime
COMMANDERS_EVENT_TYPE Event