![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
asd
Diff: main.cpp
- Revision:
- 0:a8f0f24af453
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Jul 23 09:58:54 2015 +0000 @@ -0,0 +1,18 @@ +#include "mbed.h" + +DigitalOut a(p5),b(p6),c(p7),d(p8); + +int main() { + while(1) { + + a=1;b=0;c=0;d=1; + wait(0.1); + a=1;b=1;c=0;d=0; + wait(0.1); + a=0;b=1;c=1;d=0; + wait(0.1); + a=0;b=0;c=1;d=1; + wait(0.1); + + } +}