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@3:f729f0421740, 2017-01-19 (annotated)
- 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?
User | Revision | Line number | New contents of line |
---|---|---|---|
mab5449 | 3:f729f0421740 | 1 | https://github.com/ARMmbed/mbed-os/#04a31f3b39bfbd69e155ed7c9f55880fd75278ba |