EzSBC2_blink_program

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
kizosgr
Date:
Sun Apr 12 23:14:01 2015 +0000
Child:
1:d4ef93a264b7
Commit message:
EzSBC2 blink program

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Apr 12 23:14:01 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0
\ No newline at end of file