Ben Trevett
/
Button_LED_K64
Press SW2 for red LED. Press SW3 for blue LED.
Diff: main.cpp
- Revision:
- 2:381e5197a992
- Parent:
- 1:dfc1069a94f5
--- 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() {