GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

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