2024-06-09 14:34:41 -07:00

23 lines
274 B
C++

/// © MiroZ 2024
#ifndef __BMP280_H__
#define __BMP280_H__
#include <Wire.h>
#include <BMP280_DEV.h>
class Bmp280
{
protected:
BMP280_DEV * m_sensor;
TwoWire & m_bus;
bool m_operational = false;
public:
Bmp280(TwoWire & bus);
bool init();
bool read();
};
#endif