![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
adsdffddf
main.cpp
- Committer:
- keerthivasan
- Date:
- 2015-07-16
- Revision:
- 0:cb6089d84fb2
File content as of revision 0:cb6089d84fb2:
#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); }