Switches a LED on/off by pushbutton interrupts.

Dependencies:   mbed

07_button_interrupt

Switches a LED on/off by pushbutton interrupts. Quite useless though instuctive example (due to button bounces...)

Hardware requirements:

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

Wiring scheme:

/media/uploads/icserny/led_button.png

Committer:
icserny
Date:
Thu Dec 10 12:51:43 2015 +0000
Revision:
0:8edc810c76bb
Fist version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
icserny 0:8edc810c76bb 1 http://mbed.org/users/mbed_official/code/mbed/builds/165afa46840b