A feature complete driver for the LM75B temperature sensor from NXP.
Dependents: app-board-TempAlarm LM75B IoTWorkshopSensors EduRobot ... more
Diff: LM75B.cpp
- Revision:
- 14:3a44310726fe
- Parent:
- 13:27c19044ace6
- Child:
- 15:69991c038abe
--- a/LM75B.cpp Thu Nov 07 17:42:41 2013 +0000 +++ b/LM75B.cpp Tue Nov 12 17:22:12 2013 +0000 @@ -26,11 +26,6 @@ { //Probe for the LM75B using a Zero Length Transfer if (!m_I2C.write(m_ADDR, NULL, 0)) { - //Reset the device to default configuration - write8(REG_CONF, 0x00); - write16(REG_THYST, 0x4B00); - write16(REG_TOS, 0x5000); - //Return success return true; } else {