Stop the Blinking LED
Revision 0:088623ea241a, committed 2013-02-07
- 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 |
--- /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);
+ }
+}
--- /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