Digital Output simple example for WIZwiki-W7500 academy

Dependencies:   mbed

Fork of DigitalOut_HelloWorld_WIZwiki-W7500 by Lawrence Lee

Revision:
0:6cda4e0af931
Child:
1:2c953f7052b3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Jul 02 01:59:32 2015 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"   
+
+DigitalOut myled(LED1);    // On-board LED_RED
+
+int main() {
+    while(1) {
+        myled = 1;      // LED On
+        wait(0.2);      // 0.2 sec delay
+        myled = 0;      // LED Off
+        wait(0.2);      // 0.2 sec delay
+    }
+}