Lab 6 code.

Dependencies:   mbed

Fork of WaG by GroupA

Revision:
56:048b30c9f2a1
Parent:
55:1a25dd75e309
--- a/stepper.cpp	Thu Apr 05 21:16:59 2018 +0000
+++ b/stepper.cpp	Fri Apr 06 18:25:19 2018 +0000
@@ -8,7 +8,7 @@
 * Purpose: Driver for stepper motor
 *
 * Created: 03/02/2018
-* Last Modified: 03/29/2018
+* Last Modified: 04/06/2018
 *
 ******************************************************************************/
 
@@ -211,7 +211,7 @@
     pc.printf("step 9 test begin\n");
     
     int sensor_no = 0;
-    if (station == STATION_A) sensor_no = 0;
+    if (station == STATION_A) sensor_no = 8;
     if (station == STATION_B) sensor_no = 0;