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
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
4:de061b559d35 | 2017-06-23 | sarahmarshy |
"Update mbed-os" |
3:f729f0421740 | 2017-01-19 | mab5449 | Ported mbed OS 2 to mbed OS 5 |
2:dc8472f90484 | 2015-03-27 | mbedAustin | Added license to main.c file. |
1:e0f221b58791 | 2014-09-21 | mbedAustin | update libs |
0:7a20a6aa1f5e | 2013-02-15 | mbed_official | Hello World for InteruptIn |