This commit is contained in:
2025-10-10 22:19:01 -04:00
parent e0d0db39a6
commit 075984ab87
1411 changed files with 40221 additions and 32695 deletions

View File

@@ -4,7 +4,7 @@
Author: Alexander Bobkov
Date: October 4, 2025
Updated: October 7, 2025
Updated: October 10, 2025
TO-DO: add Wi-Fi connection for MQTT publishing
@@ -30,7 +30,11 @@
#include "freertos/task.h"
#include "esp_log.h"
#include "i2c_bus.h"
// BME280 sensor: Temperature, Humidity, Pressure
#include "bme280.h"
// BMP280 sensor: Temperature, Pressure
//#include "bmp280.h"
#include "config.h"
@@ -47,6 +51,9 @@ static i2c_bus_handle_t i2c_bus = NULL;
// BME280 device handle
static bme280_handle_t bme280 = NULL;
// BMP280 device handle
static bmp280_handle_t bmp280 = NULL;
// I2C bus configuration struct
i2c_config_t conf = {
.mode = I2C_MODE_MASTER,