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:
- 14:db46f47b0480
- Parent:
- 13:5d689f89d794
- Child:
- 15:a2c188ed294f
diff -r 5d689f89d794 -r db46f47b0480 main.cpp
--- a/main.cpp Tue Apr 06 12:49:57 2021 +0200
+++ b/main.cpp Tue Apr 06 12:20:31 2021 +0000
@@ -34,7 +34,7 @@
/* read analog input */
dist = analogIn.read()*3.3f;
-
+
/* do only output what's really necessary, outputting "Measured value in mV: "" within the loop is no good solution */
printf("Measured value in mV: %d\r\n", (static_cast<int>(dist * 1e3)));