jim kizos
/
EzSBC2_LPC1347_blink_program
EzSBC2_blink_program
Diff: main.cpp
- Revision:
- 1:d4ef93a264b7
- Parent:
- 0:b08cd12df913
--- a/main.cpp Sun Apr 12 23:14:01 2015 +0000 +++ b/main.cpp Sun Apr 12 23:25:38 2015 +0000 @@ -1,9 +1,9 @@ #include "mbed.h" -// WiFi DipCortex has 1 LED shared with the button on P0_1 -DigitalOut Led(P1_15); +// EzSBC2 has 2 LEDs P1_15 and P1_16 + +DigitalOut Led1(P1_15); -// DipCortex has 2 LEDs P0_1 and P1_22 DigitalOut Led2(P1_16); int main() @@ -12,7 +12,7 @@ { Led2 = !Led2; wait_ms(250); - Led = !Led; + Led1 = !Led1; wait_ms(250); } } \ No newline at end of file