External Interrupt example for WIZwiki-W7500 Academy
Dependencies: mbed
Fork of GPIOIn_INT_HelloWorld_WIZwiki-W7500 by
Diff: main.cpp
- Revision:
- 1:95b6d8c7bb10
- Parent:
- 0:4052805e9292
- Child:
- 2:77994200971e
--- a/main.cpp Thu Jul 02 23:06:45 2015 +0000 +++ b/main.cpp Thu Jul 02 23:09:43 2015 +0000 @@ -12,10 +12,12 @@ int main() { - mysw.rise(&exin); // attach the address of the flip function to the rising edge + mysw.rise(&exin); // attach the address of the exin function to the rising edge while(1) { // wait around, interrupts will interrupt this! myled1 = !myled1; wait(1.0); } -} \ No newline at end of file +} + +