GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

Revision:
67:6dffd5c82eb6
Parent:
66:70efa618c378
Child:
69:1b7271bd4a75
--- a/main.cpp	Thu Apr 19 15:26:19 2018 +0000
+++ b/main.cpp	Thu Apr 19 15:42:22 2018 +0000
@@ -75,12 +75,12 @@
     }
     
     if (station == STATION_A) {
-        gnoll(8, sensor_values);
+        gnoll(0, sensor_values);
         whack(0, sensor_values);
     }
     else if (station == STATION_B) {
         whack(8, sensor_values);
-        gnoll(0, sensor_values);
+        gnoll(8, sensor_values);
     }
     else {
         pc.printf("Critical error: no station detected.");