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
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
3:f729f0421740 | 2017-01-19 | Ported mbed OS 2 to mbed OS 5 | File Diff Annotate |
2:dc8472f90484 | 2015-03-27 | Added license to main.c file. | File Diff Annotate |
0:7a20a6aa1f5e | 2013-02-15 | Hello World for InteruptIn | File Diff Annotate |