motor
Dependencies: mbed
Revision 0:6af1ffd9daaf, committed 2016-10-24
- Comitter:
- tomirobo
- Date:
- Mon Oct 24 08:15:35 2016 +0000
- Commit message:
- motor;
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 6af1ffd9daaf main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Oct 24 08:15:35 2016 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" +PwmOut fet(A5); +DigitalOut brk(A3); + +int main(){ + wait(1); + brk=1; + wait(0.2); + fet=1; + wait(2); + fet=0; + } + \ No newline at end of file
diff -r 000000000000 -r 6af1ffd9daaf mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Oct 24 08:15:35 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/25aea2a3f4e3 \ No newline at end of file