LED test fork

Dependencies:   mbed

Fork of led_test2 by -deleted-

Revision:
2:47097a6f33ab
Parent:
1:32f34ee5f90f
--- a/main.cpp	Thu Aug 08 14:19:54 2013 +0000
+++ b/main.cpp	Fri Aug 09 11:54:49 2013 +0000
@@ -4,12 +4,10 @@
 DigitalOut myled2(LED2);
 
 int main() {
+    int i = 0;
     while(1) {
-        myled = 1;
-        myled2 = 0;
-        wait(0.5);
-        myled = 0;
-        myled2 = 1;
-        wait(0.5);
+        myled = i & 1;
+        myled2 = i & 2;
+        wait(0.25);
     }
 }