
motor
Dependencies: mbed
Diff: main.cpp
- Revision:
- 0:6af1ffd9daaf
--- /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