mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-26 02:27:48 +00:00
esp32 temperature node
This commit is contained in:
@@ -15,8 +15,8 @@
|
|||||||
#include "driver/i2c.h"
|
#include "driver/i2c.h"
|
||||||
#include "bme280.h"
|
#include "bme280.h"
|
||||||
|
|
||||||
#define I2C_MASTER_SCL_IO CONFIG_I2C_MASTER_SCL /*!< GPIO number used for I2C master clock */
|
#define I2C_MASTER_SCL_IO 22 /*!< GPIO number used for I2C master clock */
|
||||||
#define I2C_MASTER_SDA_IO CONFIG_I2C_MASTER_SDA /*!< GPIO number used for I2C master data */
|
#define I2C_MASTER_SDA_IO 21 /*!< GPIO number used for I2C master data */
|
||||||
#define I2C_MASTER_NUM I2C_NUM_0 /*!< I2C master i2c port number, the number of i2c peripheral interfaces available will depend on the chip */
|
#define I2C_MASTER_NUM I2C_NUM_0 /*!< I2C master i2c port number, the number of i2c peripheral interfaces available will depend on the chip */
|
||||||
#define I2C_MASTER_FREQ_HZ 400000 /*!< I2C master clock frequency */
|
#define I2C_MASTER_FREQ_HZ 400000 /*!< I2C master clock frequency */
|
||||||
#define I2C_MASTER_TX_BUF_DISABLE 0 /*!< I2C master doesn't need buffer */
|
#define I2C_MASTER_TX_BUF_DISABLE 0 /*!< I2C master doesn't need buffer */
|
||||||
|
|||||||
Reference in New Issue
Block a user