Open cracked-machine opened 3 years ago
Create a class to manage a hardware timer to be used for debouncing hardware switches. The class should contain a reference to the hardware timer, the delay required and last recorded interrupt time.
added debounce template class 5443396d1bd09ca453322af70a0ff2bbdf4a76e5
Added unit tests for Debounce 81af264cbfcafac5104dddcbde79555cf0a59c9a
Create a class to manage a hardware timer to be used for debouncing hardware switches. The class should contain a reference to the hardware timer, the delay required and last recorded interrupt time.