Hari Prasad
/
motor
asd
main.cpp
- Committer:
- harseed951
- Date:
- 2015-07-23
- Revision:
- 0:a8f0f24af453
File content as of revision 0:a8f0f24af453:
#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); } }