Ben Trevett
/
Button_LED_K64
Press SW2 for red LED. Press SW3 for blue LED.
Diff: main.cpp
- Revision:
- 1:dfc1069a94f5
- Parent:
- 0:b9aa0612f361
- Child:
- 2:381e5197a992
diff -r b9aa0612f361 -r dfc1069a94f5 main.cpp --- a/main.cpp Thu Dec 31 23:13:27 2015 +0000 +++ b/main.cpp Thu Dec 31 23:16:26 2015 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" -DigitalOut red(LED_RED); +DigitalOut red(LED1); DigitalOut blue(LED3); DigitalIn sw2(PTC6); InterruptIn sw3(PTA4);