Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Lab_6_WaG by
Diff: main.cpp
- Revision:
 - 67:6dffd5c82eb6
 - Parent:
 - 66:70efa618c378
 - Child:
 - 69:1b7271bd4a75
 
diff -r 70efa618c378 -r 6dffd5c82eb6 main.cpp
--- 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.");
    