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:
- 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
