2024-06-14 22:09:08 +02:00
|
|
|
#ifndef TMP1075_H_
|
|
|
|
#define TMP1075_H_
|
|
|
|
|
|
|
|
#define TMP1075_I2CADDR_DEFAULT 0x4A ///< TMP1075 i2c address
|
|
|
|
#define TMP1075_TEMP_REG 0x00 ///< Temperature register
|
|
|
|
#define TMP1075_CONFIG_REG 0x01 ///< Configuration register
|
|
|
|
#define TMP1075_LOW_LIMIT 0x02 ///< Low limit register
|
|
|
|
#define TMP1075_HIGH_LIMIT 0x03 ///< High limit register
|
|
|
|
#define TMP1075_DEVICE_ID 0x0F ///< Device ID register
|
|
|
|
|
|
|
|
bool TMP1075_installed(int);
|
|
|
|
uint8_t TMP1075_read_temperature(int);
|
2024-10-08 10:27:32 -05:00
|
|
|
esp_err_t TMP1075_init(void);
|
2024-06-14 22:09:08 +02:00
|
|
|
|
|
|
|
#endif /* TMP1075_H_ */
|