Sensor module for temperature, air pressure, and humidity
Dependencies: DHT11 LM75B mpl115a2
Diff: SensorModule.hpp
- Revision:
- 1:3d6d2ff7ff8a
- Parent:
- 0:98946a466ef8
- Child:
- 3:c1c2c7c5fe82
--- a/SensorModule.hpp Fri Feb 13 07:46:49 2015 +0000 +++ b/SensorModule.hpp Sun Feb 15 09:27:44 2015 +0000 @@ -15,6 +15,8 @@ AnalogIn* temperture_sensor;// 温度センサーLM75B DHT11* humidity_sensor; // 湿度センサーDHT11(精度が論値なので,変えるかも) + I2C* pressure_i2c; // 気圧センサーMPL115A2用のI2C + MPL115A2* pressure_sensor; // 気圧センサーMPL115A2 public: int n_sample; // 1度のサンプリングでの読み出し回数