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.
Diff: main.cpp
- Revision:
- 10:d18768e771ac
- Parent:
- 9:fa745d3afcac
- Child:
- 11:394ab193971f
diff -r fa745d3afcac -r d18768e771ac main.cpp
--- a/main.cpp Wed Nov 21 12:22:22 2018 +0000
+++ b/main.cpp Wed Nov 21 12:23:52 2018 +0000
@@ -26,7 +26,6 @@
m3pi.cls();
m3pi.locate(0,1);
m3pi.printf("%d", sensor_value[0]);
- return 0; //return sensor value string
}
int main() {
@@ -83,7 +82,7 @@
m3pi.right_motor(right);
//Marc's sensor test
- sensor_all(0); // sensor_value gets fkt value
+ sensor_all(); // sensor_value gets fkt value
/*
sensor_value4 = sensor_all(4); // sensor_value gets fkt value
*/
