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

Download repository: zip gz

Files at revision 0:b4a0a2e03ca2

Name Size Actions
[up]
main.cpp 1177 Revisions Annotate
mbed.bld 65 Revisions Annotate