EzSBC2_blink_program

Dependencies:   mbed

Revision:
0:b08cd12df913
Child:
1:d4ef93a264b7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Apr 12 23:14:01 2015 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+ 
+// WiFi DipCortex has 1 LED shared with the button on P0_1
+DigitalOut Led(P1_15);
+ 
+// DipCortex has 2 LEDs P0_1 and P1_22
+DigitalOut Led2(P1_16);
+ 
+int main()
+{
+    while(1)
+    {
+        Led2 = !Led2;
+        wait_ms(250);
+        Led = !Led;
+        wait_ms(250);
+    } 
+    }
\ No newline at end of file