stepper motor

Dependencies:   mbed

Revision:
2:c944fc6cdfb7
Parent:
1:6d4a62f98351
diff -r 6d4a62f98351 -r c944fc6cdfb7 main.cpp
--- a/main.cpp	Wed Oct 11 06:19:41 2017 +0000
+++ b/main.cpp	Mon Mar 19 03:34:20 2018 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 
 Ticker ticker_step;
-DigitalOut step(PB_0), dir(PB_1), en(PA_7);
+DigitalOut step(PB_0), dir(PB_1), en(PC_13);
 volatile int remain;
 
 void toggle_step() { //产生STEP脉冲信号