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_c.cpp
- Revision:
- 12:3ca79cd71289
- Parent:
- 11:c3367936f4f2
- Child:
- 14:c74a5b4d6715
--- a/ds1775_c.cpp Sun Apr 07 09:55:29 2019 +0000 +++ b/ds1775_c.cpp Sun Apr 07 11:01:21 2019 +0000 @@ -65,7 +65,6 @@ ret = i2c_bus.read(ds1775_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("%s: failed to read data: ret: %d\r\n", __func__, ret); @@ -93,8 +92,6 @@ /* read the two bytes of data */ if (ret == 0) { ret = i2c_bus.read(ds1775_read_address, data, 2, false); - printf( - "%s: msb lsb %x %x \r\n", __func__, tmp.msb, tmp.lsb); if (ret == 0) { tmp.msb = data[0]; tmp.lsb = data[1];