![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
tra
Diff: main.cpp
- Revision:
- 0:7b55db7fa85a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Aug 27 09:59:07 2015 +0000 @@ -0,0 +1,24 @@ +#include "mbed.h" + +DigitalOut A(LED1); +DigitalOut B(LED2); +DigitalOut C(LED3); +DigitalOut D(LED4); +int main() +{ + while(1) + { + + A=0;B=1;C=1;D=1; + wait(1.0); + A=1;B=0;C=1;D=1; + wait(1.0); + A=1;B=1;C=0;D=1; + wait(1.0); + A=1;B=1;C=1;D=0; + wait(1.0); + } + } + + +