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:
- 5:527c046c7b8a
- Parent:
- 4:5939f9ad88ca
- Child:
- 6:3be33adda32d
diff -r 5939f9ad88ca -r 527c046c7b8a main.cpp --- a/main.cpp Wed Nov 21 11:52:50 2018 +0000 +++ b/main.cpp Wed Nov 21 11:55:52 2018 +0000 @@ -84,9 +84,10 @@ m3pi.right_motor(right); //Marc's sensor test - /* + m3pi.cls(); sensor_value0 = sensor_all(0); // sensor_value gets fkt value + /* sensor_value4 = sensor_all(4); // sensor_value gets fkt value m3pi.locate(0,0); m3pi.printf("%d", sensor_value0); // prints one of sidesensors value