mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-07 22:56:11 +00:00
.
This commit is contained in:
@@ -138,6 +138,7 @@ static esp_err_t i2c_driver_initialize(void)
|
||||
void app_main(void)
|
||||
{
|
||||
// CONNECT TO BMP280
|
||||
//
|
||||
ESP_ERROR_CHECK(i2c_driver_initialize());
|
||||
i2c_driver_install(I2C_NUM_0, I2C_MODE_MASTER, I2C_MASTER_RX_BUF_DISABLE, I2C_MASTER_TX_BUF_DISABLE, 0);
|
||||
uint8_t address = 0x76;
|
||||
|
Reference in New Issue
Block a user