GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

Revision:
65:b8f3339b9268
Parent:
64:72f7f5757f0d
Child:
66:70efa618c378
--- a/main.cpp	Tue Apr 17 16:15:21 2018 +0000
+++ b/main.cpp	Thu Apr 19 00:14:15 2018 +0000
@@ -75,14 +75,14 @@
     }
     
     if (station == STATION_A) {
-        gnoll();
-        whack();
+        gnoll(8);
+        whack(0, sensor_values);
     }
     else if (station == STATION_B) {
-        whack();
-        gnoll();
+        whack(8, sensor_values);
+        gnoll(0);
     }
     else {
-        pc.print("Critical error: no station detected.");
+        pc.printf("Critical error: no station detected.");
     }
 } 
\ No newline at end of file