root: init sensors: humidity+temp, CO2. Pressure sensor is now static class
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
#include "LiquidCrystal.h"
|
||||
#include "ModbusMaster.h"
|
||||
#include "ModbusRegister.h"
|
||||
#include "GMP252.h"
|
||||
#include "HMP60.h"
|
||||
|
||||
/** Buttons enumeration
|
||||
*
|
||||
@@ -118,6 +120,12 @@ private:
|
||||
LiquidCrystal *_lcd;
|
||||
ModbusRegister *A01;
|
||||
|
||||
/* CO2 sensor object */
|
||||
GMP252 co2;
|
||||
|
||||
/* Humidity and temperature sensor object */
|
||||
HMP60 humidity;
|
||||
|
||||
/** Initialization state
|
||||
*
|
||||
* @param event event of the state
|
||||
|
||||
Reference in New Issue
Block a user