24 lines
341 B
C++

#include <stdint.h>
#include <esp_log.h>
#include <Wire.h>
#include "Bme68x.h"
#include "Bmp280.h"
class Sensors
{
protected:
TaskHandle_t m_i2c1_task = nullptr;
TaskHandle_t m_i2c2_task = nullptr;
void run_i2c_1();
void run_i2c_2();
Bmp280 * m_bmp280 = nullptr;
Bme68x * m_bme68x = nullptr;
public:
Sensors();
void start();
};