Stop the Blinking LED

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
wim
Date:
Thu Feb 07 19:15:35 2013 +0000
Commit message:
GoodbyeWorld to stop the blinking LED

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
diff -r 000000000000 -r 088623ea241a main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Feb 07 19:15:35 2013 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+
+int main() {
+    myled = 1;
+    wait(0.5);    
+    myled = 0;
+        
+    while(1) {
+        wait(1.0);
+    }
+}
diff -r 000000000000 -r 088623ea241a mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Feb 07 19:15:35 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/0954ebd79f59
\ No newline at end of file