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