np

Dependencies:   mbed

Fork of intrupts by Hari Prasad

Files at this revision

API Documentation at this revision

Comitter:
anbukumaran
Date:
Thu Jul 02 10:28:39 2015 +0000
Parent:
0:e2079fd3f2d9
Commit message:
nt

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r e2079fd3f2d9 -r 72d03bbcbe35 main.cpp
--- 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);