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:
- sarahmarshy
- Date:
- 2017-06-23
- Revision:
- 4:de061b559d35
- Parent:
- 3:f729f0421740
File content as of revision 4:de061b559d35:
https://github.com/ARMmbed/mbed-os/#c9e63f14085f5751ff5ead79a7c0382d50a813a2