This commit is contained in:
2026-02-11 19:46:46 +01:00
parent 86bc6505c8
commit 4ec6e645ba
24 changed files with 710 additions and 146 deletions

View File

@@ -2,7 +2,7 @@
#define SCD30_H
#include <stdint.h>
#include "driver/i2c_master.h"
#include "driver/i2c.h"
// Data structure to hold SCD30 sensor data
typedef struct {
@@ -12,8 +12,7 @@ typedef struct {
} scd30_data_t;
typedef struct {
i2c_master_bus_handle_t bus_handle;
i2c_master_dev_handle_t dev_handle;
i2c_port_t i2c_port;
} scd30_handle_t;
/**