Hello World for InterruptIn
Fork of InterruptIn_HelloWorld by
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
mbed-os.lib
- Committer:
- mab5449
- Date:
- 2017-01-19
- Revision:
- 3:f729f0421740
- Child:
- 4:de061b559d35
File content as of revision 3:f729f0421740:
https://github.com/ARMmbed/mbed-os/#04a31f3b39bfbd69e155ed7c9f55880fd75278ba