modify the write function for temperature update If you use update temperature, you modify the repeat condition when write function use - read16() -> m_I2C.write(m_Addr, &reg, 1); //stop condition - read16() -> m_I2C.write(m_Addr, &reg, 1,1); //repeat condition

Fork of LM75B by Neil Thiessen

Revision:
14:3a44310726fe
Parent:
13:27c19044ace6
Child:
15:69991c038abe
--- a/LM75B.h	Thu Nov 07 17:42:41 2013 +0000
+++ b/LM75B.h	Tue Nov 12 17:22:12 2013 +0000
@@ -103,7 +103,7 @@
      */
     LM75B(PinName sda, PinName scl, Address addr = ADDRESS_0);
 
-    /** Probe for the LM75B and reset it to default configuration if present
+    /** Probe for the LM75B and indicate if it's present on the bus
      *
      * @returns
      *   'true' if the device exists on the bus,