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 DS1820_HelloWorld by
Revision 6:ba8f89d2098b, committed 2017-11-23
- Comitter:
- rlanghbv
- Date:
- Thu Nov 23 08:27:26 2017 +0000
- Parent:
- 5:46e4682f9c42
- Commit message:
- Doc Update
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Nov 23 08:19:49 2017 +0000
+++ b/main.cpp Thu Nov 23 08:27:26 2017 +0000
@@ -11,10 +11,11 @@
probeExt.unassignedProbe(A1);
while(1) {
- probeInt.convertTemperature(true, DS1820::all_devices); //Start temperature conversion, wait until ready
+ probeInt.convertTemperature(true, DS1820::all_devices); // Start temperature conversion
printf("TempInt value=%f\r\n", probeInt.temperature());
- probeExt.convertTemperature(true, DS1820::all_devices); //Start temperature conversion, wait until ready
+ probeExt.convertTemperature(true, DS1820::all_devices); // Start temperature conversion
printf("TempRoom value=%f\r\n", probeExt.temperature());
}
-}
\ No newline at end of file
+}
+
