Implement key debouncer.

This commit is contained in:
László Monda
2017-11-14 22:54:53 +01:00
parent 9e18caa0ba
commit a0afdcf476
7 changed files with 79 additions and 10 deletions
+1
View File
@@ -13,6 +13,7 @@
bool previous;
bool current;
bool suppressed;
uint8_t debounceCounter;
} key_state_t;
// Variables: