Dallas' DS1820 family temperature sensor. For more details see [https://developer.mbed.org/users/hudakz/code/DS1820/wiki/Homepage]

Dependencies:   OneWire

Files at this revision

API Documentation at this revision

Comitter:
spin7ion
Date:
Tue Sep 29 17:38:45 2020 +0000
Parent:
23:74a4ff420541
Commit message:
first commit

Changed in this revision

DS1820.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 74a4ff420541 -r 711e30a8874c DS1820.cpp
--- a/DS1820.cpp	Mon Jul 20 08:09:58 2020 +0000
+++ b/DS1820.cpp	Tue Sep 29 17:38:45 2020 +0000
@@ -146,7 +146,7 @@
         printf("No addresses.\r\n");
 #endif
         oneWire->reset_search();
-        ThisThread::sleep_for(250);
+        wait_ms(250);
         return false;
     }