C code and C++ library, driver software for Maxim Integrated DS1775, DS75 thermometer and thermostat temperature sensor. Code supports continuous or shut-down/standby, hysteresis, alarm limits, comparator or interrupt mode, fault filtering, and active low/high. Compact 5-pin SOT23 packaging
Dependents: DS1775_Digital_Thermostat_Temperature
Diff: ds1775_cpp.cpp
- Revision:
- 12:3ca79cd71289
- Parent:
- 11:c3367936f4f2
- Child:
- 14:c74a5b4d6715
--- a/ds1775_cpp.cpp Sun Apr 07 09:55:29 2019 +0000 +++ b/ds1775_cpp.cpp Sun Apr 07 11:01:21 2019 +0000 @@ -67,7 +67,6 @@ ret = m_i2c.read(m_read_address, data, 1, false); if (ret == 0) { *value = data[0]; - printf("%s: cfg %x\r\n", __func__, *value); return DS1775_NO_ERROR; } else { printf( @@ -98,8 +97,6 @@ if (ret == 0) { tmp.msb = data[0]; tmp.lsb = data[1]; - printf( - "%s: MSB LSB %x %x\r\n", __func__, tmp.msb, tmp.lsb); *value = tmp.swrd; return DS1775_NO_ERROR; } else {