Counts button bounces in a button press-release cycle by using InterruptIn class library. Results are printed out through UART0 (via OpenSDA).

Dependencies:   mbed

07_button_bounce

Counts button bounces in a button press-release cycle by using InterruptIn class library. Results are printed out through UART0 (via OpenSDA).

Hardware requirements:

  • FRDM-KL25Z board
  • Pushbutton connected between D3 and GND

Wiring scheme:

/media/uploads/icserny/led_button.png

mbed.bld

Committer:
icserny
Date:
2015-12-10
Revision:
0:b4a0a2e03ca2

File content as of revision 0:b4a0a2e03ca2:

http://mbed.org/users/mbed_official/code/mbed/builds/165afa46840b