Hello World for InterruptIn

Fork of InterruptIn_HelloWorld by Mbed

Use

Interrupts are a way of causing a function to be called when a certain event happens. This example demonstrates calling a function when a button is pressed. Specifically on the rising edge of a button press. This can be observed by LED4 blinking as the program runs and LED1 only changing when the button is pressed.

API

API reference.

Import librarymbed

No documentation found.
Committer:
mab5449
Date:
Thu Jan 19 10:41:34 2017 -0600
Revision:
3:f729f0421740
Child:
4:de061b559d35
Ported mbed OS 2 to mbed OS 5

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mab5449 3:f729f0421740 1 https://github.com/ARMmbed/mbed-os/#04a31f3b39bfbd69e155ed7c9f55880fd75278ba