the first

Revision:
1:5f9cd5aa577f
Parent:
0:37df34174027
--- a/main.cpp	Sun Sep 16 08:08:07 2018 +0000
+++ b/main.cpp	Sun Sep 16 08:18:10 2018 +0000
@@ -4,6 +4,8 @@
 
 int main(int argc, char* argv[])
 {
-    myLed.write(1);
-    return 0;
+    while (true) {
+        myLed = !myLed;
+        wait(0.5);
+    }
 }
\ No newline at end of file