Right now the debouncing code in the button example is naive and time based, change it to use a mutex type approach.
Right now the debouncing code in the button example is naive and time based, change it to use a mutex type approach.