Commanders
Arduino buttons/bus library
EventPin Struct Reference

#include "ButtonsCommanderSwitch.hpp"

Public Attributes

GPIO_pin_t Pin
 
unsigned long Id
 
COMMANDERS_EVENT_TYPE Event
 
int Data
 
byte LastButtonState
 
unsigned long LastDebounceTime
 

Detailed Description

Event for the universal switch button event list.

Definition at line 14 of file ButtonsCommanderSwitch.hpp.

Member Data Documentation

int EventPin::Data

Associated data.

Definition at line 19 of file ButtonsCommanderSwitch.hpp.

COMMANDERS_EVENT_TYPE EventPin::Event

Event type.

Definition at line 18 of file ButtonsCommanderSwitch.hpp.

unsigned long EventPin::Id

id.

Definition at line 17 of file ButtonsCommanderSwitch.hpp.

byte EventPin::LastButtonState

Last button state : HIGH (disactivated) or LOW (activated)

Definition at line 20 of file ButtonsCommanderSwitch.hpp.

unsigned long EventPin::LastDebounceTime

Date of the last state change.

Definition at line 21 of file ButtonsCommanderSwitch.hpp.

GPIO_pin_t EventPin::Pin

Arduino pin in DIO2 format connected to this switch position.

Definition at line 16 of file ButtonsCommanderSwitch.hpp.


The documentation for this struct was generated from the following file: