This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Title: Button Debouncing using a State Machine, Complex Version | |
| //Author: Chris Guichet | |
| //Date: Jan 15, 2018 | |
| // | |
| //Description: | |
| // -A State Machine is a useful tool to organize complex code | |
| // -Think of it like the next step beyone "If Else" statements | |
| // -This example code uses a State Machine to handle tac switch debouncing | |
| // -It also has a "Hold" function to enable interaction with long button presses | |
| // |