Debounce button by sampling the digital input in each 20 ms. We use a Ticker object and a callback function for this.

Dependencies:   mbed

All pull requests

No pull requests found.