change debouce logic
This commit is contained in:
parent
b62ef700ed
commit
d0ce4bf391
2 changed files with 36 additions and 10 deletions
|
@ -54,6 +54,7 @@ class DigitalInputCard : public ExpansionCard {
|
|||
uint8_t previousInputBufferB;
|
||||
uint32_t debounceTime[16];
|
||||
uint32_t lastDebounceTime[16];
|
||||
bool pinChanged[16];
|
||||
// A map of the physical pin to the virtual pin
|
||||
uint8_t pinMap[16];
|
||||
// A map of the virtual pin to the physical pin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue