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, ®, 1); //stop condition - read16() -> m_I2C.write(m_Addr, ®, 1,1); //repeat condition
Fork of LM75B by
History
modify the Source code(in LM75B.cpp); - in LM75B::read16(char reg); write function is modified from stop condition to repeated condition for temperture value update; m_I2C.write(m_Addr, ®, 1) ->m_I2C.write(m_Addr, ®,1,1);;
2015-07-20, by eunkyoungkim [Mon, 20 Jul 2015 09:36:26 +0000] rev 17
modify the Source code(in LM75B.cpp); - in LM75B::read16(char reg); write function is modified from stop condition to repeated condition for temperture value update; m_I2C.write(m_Addr, ®, 1) ->m_I2C.write(m_Addr, ®,1,1);;
Added MBED_OPERATORS check to implementation
2014-05-30, by neilt6 [Fri, 30 May 2014 19:04:36 +0000] rev 16
Added MBED_OPERATORS check to implementation
Added an I2C frequency argument to the constructor
2014-05-02, by neilt6 [Fri, 02 May 2014 17:28:17 +0000] rev 15
Added an I2C frequency argument to the constructor
open() no longer resets the device
2013-11-12, by neilt6 [Tue, 12 Nov 2013 17:22:12 +0000] rev 14
open() no longer resets the device
Minor improvements
2013-11-07, by neilt6 [Thu, 07 Nov 2013 17:42:41 +0000] rev 13
Minor improvements
Added float operator overload, a default address in constructor, and an improved example
2013-09-16, by neilt6 [Mon, 16 Sep 2013 21:32:18 +0000] rev 12
Added float operator overload, a default address in constructor, and an improved example
Minor example improvements (exits on failure)
2013-08-28, by neilt6 [Wed, 28 Aug 2013 17:42:55 +0000] rev 11
Minor example improvements (exits on failure)
Minor documentation fix
2013-08-28, by neilt6 [Wed, 28 Aug 2013 17:33:41 +0000] rev 10
Minor documentation fix
Added open() method to probe for and reset devices
2013-08-28, by neilt6 [Wed, 28 Aug 2013 17:17:24 +0000] rev 9
Added open() method to probe for and reset devices
Modified library so as to be more compliant with C++ conventions
2013-08-14, by neilt6 [Wed, 14 Aug 2013 04:33:25 +0000] rev 8
Modified library so as to be more compliant with C++ conventions