LPS JS / DS1820

Dependencies:   OneWire

Dependents:   2022_TICE_Electrolyse

Files at this revision

API Documentation at this revision

Comitter:
jsanchez
Date:
Tue Jan 11 15:01:15 2022 +0000
Parent:
23:74a4ff420541
Commit message:
MbedOS 6.15 compatible

Changed in this revision

DS1820.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/DS1820.cpp	Mon Jul 20 08:09:58 2020 +0000
+++ b/DS1820.cpp	Tue Jan 11 15:01:15 2022 +0000
@@ -146,7 +146,7 @@
         printf("No addresses.\r\n");
 #endif
         oneWire->reset_search();
-        ThisThread::sleep_for(250);
+        ThisThread::sleep_for(250ms);
         return false;
     }