![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
np
Dependencies: mbed
Fork of intrupts by
Diff: main.cpp
- Revision:
- 1:72d03bbcbe35
- Parent:
- 0:e2079fd3f2d9
--- a/main.cpp Thu Jul 02 09:56:56 2015 +0000 +++ b/main.cpp Thu Jul 02 10:28:39 2015 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" DigitalOut a(LED1),b(LED2),c(LED3),d(LED4); -InterruptIn sw(p5); +InterruptIn sw(p9); void down() { a=1;b=1,c=1,d=1; wait(1);