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
Revision 4:de061b559d35, committed 2017-06-23
- Comitter:
- sarahmarshy
- Date:
- Fri Jun 23 18:04:32 2017 -0500
- Parent:
- 3:f729f0421740
- Commit message:
- "Update mbed-os"
Changed in this revision
mbed-os.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r f729f0421740 -r de061b559d35 mbed-os.lib --- a/mbed-os.lib Thu Jan 19 10:41:34 2017 -0600 +++ b/mbed-os.lib Fri Jun 23 18:04:32 2017 -0500 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#04a31f3b39bfbd69e155ed7c9f55880fd75278ba +https://github.com/ARMmbed/mbed-os/#c9e63f14085f5751ff5ead79a7c0382d50a813a2