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

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

File Index

File List

Here is a list of all documented files with brief descriptions:
main.cpp [code]