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.h
- Revision:
- 16:1ecfc243d4ef
- Parent:
- 15:449134e4b43f
- Child:
- 17:ca86c0b37244
--- a/ds1775_cpp.h Sun Apr 07 22:52:38 2019 +0000 +++ b/ds1775_cpp.h Mon Apr 08 00:14:08 2019 +0000 @@ -39,7 +39,7 @@ /** * @brief Digital thermometer, thermostat, temperature sensor. - * @version 1.0000.0000 + * @version 1.0000.0001 * * @details The DS1775 reports the device's temperature * over the I2C bus. @@ -134,7 +134,7 @@ * @param cfg - configurate word * @return 0 on success, negative number on failure */ - int write_cfg(uint16_t cfg); + int write_cfg_reg(uint8_t cfg); /** * @brief Writes to the THYST register