test blink

Dependencies:   mbed-os

Revision:
0:64cca7a07068
diff -r 000000000000 -r 64cca7a07068 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Jan 13 14:24:22 2019 +0000
@@ -0,0 +1,10 @@
+#include "mbed.h"
+DigitalOut LED_1(LED1);
+int main() {
+    while(1) {
+        LED_1 = 0; // LED is ON
+        wait(0.9); // 200 ms
+        LED_1 = 1; // LED is OFF
+        wait(1.0); // 1 sec
+    }
+}
\ No newline at end of file