adsdffddf

Dependencies:   mbed

Revision:
0:cb6089d84fb2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Jul 16 10:08:09 2015 +0000
@@ -0,0 +1,47 @@
+#include "mbed.h"
+
+DigitalOut a(p8),b(p12),c(p11),d(p5),e(p6),f(p7),g(p9),h(p10);
+int main()
+{
+    g=h=1;a=b=c=d=e=f=0;
+wait(1);
+a=d=e=f=g=h=1;b=c=0;
+wait(1);
+c=f=h=1;a=b=d=e=g=0;
+wait(1);
+e=f=h=1;a=b=c=d=g=0;
+wait(1);
+a=d=e=h=1;b=c=f=g=0;
+wait(1);
+b=e=h=1;a=c=d=f=g=0;
+wait(1);
+b=h=1;a=c=d=e=f=g=0;
+wait(1);
+d=e=f=g=h=1;a=b=c=0;
+wait(1);
+h=1;a=b=c=d=e=f=g=0;
+wait(1);
+e=h=1;a=b=c=d=f=g=0;
+wait(2);
+
+e=h=1;a=b=c=d=f=g=0;
+wait(1);
+h=1;a=b=c=d=e=f=g=0;
+wait(1);
+d=e=f=g=h=1;a=b=c=0;
+wait(1);
+b=h=1;a=c=d=e=f=g=0;
+wait(1);
+b=e=h=1;a=c=d=f=g=0;
+wait(1);
+a=d=e=h=1;b=c=f=g=0;
+wait(1);
+e=f=h=1;a=b=c=d=g=0;
+wait(1);
+c=f=h=1;a=b=d=e=g=0;
+wait(1);
+a=d=e=f=g=h=1;b=c=0;
+wait(1);
+ g=h=1;a=b=c=d=e=f=0;
+wait(1);
+}
\ No newline at end of file