xdxdxd

Revision:
0:4ccfcf8fa4d9
diff -r 000000000000 -r 4ccfcf8fa4d9 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Jan 16 06:42:14 2014 +0000
@@ -0,0 +1,30 @@
+#include "mbed.h"
+ 
+DigitalOut myled1(LED1), myled2(LED2), myled3(LED3), myled4(LED4);
+ 
+int main() {
+    while(1) {
+        myled1 = 1;        
+        myled2 = 1;
+        myled3 = 1;
+        myled4 = 1;
+        
+        myled1 = 0;
+        myled4 = 1;
+        wait(0.2);
+        
+        myled2 = 0;
+        myled1 = 1;
+        wait(0.2);
+        
+        myled3 = 0;
+        myled2 = 1;
+        wait(0.2);
+        
+        myled4 = 0;
+        myled3 = 1;
+        wait(0.2);
+        
+    }
+    // XDX DX DXDXD XD XD
+}
\ No newline at end of file