Hari Prasad
/
motor
asd
Revision 0:a8f0f24af453, committed 2015-07-23
- Comitter:
- harseed951
- Date:
- Thu Jul 23 09:58:54 2015 +0000
- Commit message:
- asd;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r a8f0f24af453 main.cpp --- /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); + + } +}
diff -r 000000000000 -r a8f0f24af453 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Jul 23 09:58:54 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/bad568076d81 \ No newline at end of file