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

Dependencies:   mbed

Revision graph

The revision graph only works with JavaScript-enabled browsers.