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.
Fork of PRO2_SHT15_Example by
Diff: main.cpp
- Revision:
- 5:40f3f713bba0
- Parent:
- 4:6d85c470d101
- Child:
- 6:d17b645ed2a5
diff -r 6d85c470d101 -r 40f3f713bba0 main.cpp
--- a/main.cpp Tue May 09 21:18:57 2017 +0000
+++ b/main.cpp Wed May 10 20:14:37 2017 +0000
@@ -26,6 +26,7 @@
}
void GetTemperatureAndHumidity()
+{
// Speed things up a bit.
sensor.setOTPReload(false);
sensor.setResolution(true);
@@ -44,5 +45,6 @@
humidity=sensor.getHumidity(); //don't know if it works
wait(5);
- return ();
+ return;
+}
}
\ No newline at end of file
