Press SW2 for red LED. Press SW3 for blue LED.

Dependencies:   mbed

Revision:
2:381e5197a992
Parent:
1:dfc1069a94f5
diff -r dfc1069a94f5 -r 381e5197a992 main.cpp
--- a/main.cpp	Thu Dec 31 23:16:26 2015 +0000
+++ b/main.cpp	Thu Dec 31 23:18:23 2015 +0000
@@ -3,7 +3,7 @@
 DigitalOut red(LED1);        
 DigitalOut blue(LED3);
 DigitalIn sw2(PTC6);
- InterruptIn sw3(PTA4);
+DigitalIn sw3(PTA4);
  
 int main()
 {