/// © MiroZ 2024 #ifndef __BME68X_h__ #define __BME68X_h__ #include #include struct GAS_MEASUREMENT { float temp; float resistance; }; struct BME_DATA { float humidity; struct GAS_MEASUREMENT measurement[10]; }; class Bme68x { protected: MyLibs::Bme68x * m_sensor = nullptr; TwoWire & m_bus; bool m_operational = false; public: Bme68x(TwoWire & bus); bool init(); void read(struct BME_DATA * data); }; #endif