step motor test of CORE-1000

Dependencies:   mbed

Files at this revision

API Documentation at this revision

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
--- 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