the best program ever written

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
maclobski
Date:
Fri Jun 10 03:27:27 2016 +0000
Child:
1:0b410816f96b
Commit message:
testing

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	Fri Jun 10 03:27:27 2016 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+
+DigitalOut thisled(LED1);
+DigitalOut thatled(LED2);
+
+int main() {
+    while(1) {
+        thisled = 1;
+        thatled = 0;
+        wait(0.2);
+        thisled = 0;
+        thatled = 1;
+        wait(0.2);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Jun 10 03:27:27 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/6c34061e7c34
\ No newline at end of file