step motor test of CORE-1000
Dependencies: mbed
Revision 1:0677e9d605d3, committed 2019-01-09
- Comitter:
- odb
- Date:
- Wed Jan 09 08:01:57 2019 +0000
- Parent:
- 0:9354648a14ed
- Commit message:
- Step motor test of CORE-1000
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
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