mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
.
This commit is contained in:
parent
7f34a979ea
commit
4989f13a31
14
ESP32-IDF_BMP280/main/lm75.h
Normal file
14
ESP32-IDF_BMP280/main/lm75.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef __LM75_H__
|
||||
#define __LM75_H__
|
||||
|
||||
#define LM75_CHIP_ID (0x07)
|
||||
#define LM75_I2C_ADDRESS1 (0x49) // BME280 Data sheet p. 32
|
||||
#define BME280_I2C_ADDRESS2 (0x49)
|
||||
#define BME280_TEMPERATURE_REGISTER (0x00)
|
||||
|
||||
#define BME280_TEMPERATURE_DATA_SIZE (1)
|
||||
#define BME280_TEMPERATURE_DATA_LENGTH (1)
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user