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

Dependencies:   mbed

Wiki pages

Sort by: Score, Alphabetical, Date