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

Download repository: zip gz

Files at revision 0:8edc810c76bb

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