GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

Revision:
77:73e1cf3a7284
Parent:
74:8881f4aeb174
Child:
78:84ce90a76594
--- a/stepper.cpp	Thu Apr 26 15:44:46 2018 +0000
+++ b/stepper.cpp	Thu Apr 26 16:12:09 2018 +0000
@@ -213,8 +213,8 @@
     pc.printf("Calibration test begin...\n");
     pc.printf("step 9 test begin\n");
     int sensor_no = 0;
-    if (station == STATION_A) sensor_no = 8;
-    if (station == STATION_B) sensor_no = 0;
+    if (station == STATION_A) sensor_no = 0;
+    if (station == STATION_B) sensor_no = 8;
 
 
     pc.printf("sensor_no: %d\n", sensor_no);