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:
- 6:3be33adda32d
- Parent:
- 5:527c046c7b8a
- Child:
- 7:30c63d6460f6
--- a/main.cpp Wed Nov 21 11:55:52 2018 +0000 +++ b/main.cpp Wed Nov 21 11:58:56 2018 +0000 @@ -89,7 +89,11 @@ 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("Hej"); + + /* m3pi.printf("%d", sensor_value0); // prints one of sidesensors value m3pi.locate(0,1); m3pi.printf("%d", sensor_value4); // prints the other sidesensor value