step motor test of CORE-1000
Dependencies: mbed
Diff: main.cpp
- Revision:
- 1:0677e9d605d3
- Parent:
- 0:9354648a14ed
diff -r 9354648a14ed -r 0677e9d605d3 main.cpp --- a/main.cpp Wed Jan 09 07:50:55 2019 +0000 +++ b/main.cpp Wed Jan 09 08:01:57 2019 +0000 @@ -6,8 +6,7 @@ #include "mbed.h" -BusOut motor_out(PC_0, PC_1, PC_2, PC_3); // blue - pink - yellow - orange - +BusOut motor_out(PB_1, PB_15, PB_14, PB_13); // blue - pink - yellow - orange rev2.0 int step = 0; int dir = 1; // direction