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

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
bentrevett
Date:
Thu Dec 31 23:18:23 2015 +0000
Parent:
1:dfc1069a94f5
Commit message:
changed interrupt to digital out

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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()
 {