7 #ifndef __SENSORS_SI7021_h__
8 #define __SENSORS_SI7021_h__
22 DPRINT(F(
"SI7021 SENSOR "));
23 if (_si7021.getDeviceID() > 0 && _si7021.getDeviceID() != 255) {
32 bool measure (__attribute__((unused))
bool async=
false) {
33 if( present() ==
true ) {
34 _temperature = _si7021.readTemp() * 10;
35 _humidity = _si7021.readHumidity();