Treehopper C++ API
Bme280.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <HardwareI2c.h>
6 #include "Bmp280.h"
7 
9 
10 namespace Treehopper {
11  namespace Libraries {
12  namespace Sensors {
13  namespace Pressure {
14  class LIBRARIES_API Bme280 : public Bmp280, public HumiditySensor {
15  public:
16  Bme280(I2c &i2c, bool sdoPin, int rate = 100);
17 
18  void update();
19 
20  private:
21  short h4;
22  short h5;
23  };
24  }
25  }
26  }
27 }
Definition: HumiditySensor.h:9
Base I2c interface.
Definition: I2c.h:10
#define LIBRARIES_API
Definition: Treehopper.Libraries.h:17
Definition: AdcPin.h:3