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.h
- Revision:
- 11:c3367936f4f2
- Parent:
- 10:03645de9c017
- Child:
- 15:449134e4b43f
--- a/ds1775_c.h Sun Apr 07 09:40:00 2019 +0000 +++ b/ds1775_c.h Sun Apr 07 09:55:29 2019 +0000 @@ -41,6 +41,8 @@ int ds1775_init(uint8_t slaveAddress); +int ds1775_read_cfg_reg(uint8_t *value, I2C &i2c_bus); + int ds1775_read_reg(int16_t *value, char reg, I2C &i2c_bus); float ds1775_read_reg_as_temperature(uint8_t reg, I2C &i2c_bus);