getStatus method
Returns the status of the sensor.
Implementation
int getStatus() {
_writeCommand(sht31ReadStatus);
sleep(Duration(milliseconds: 5));
return i2c.readWord(i2cAddress, BitOrder.msbFirst);
}
Returns the status of the sensor.
int getStatus() {
_writeCommand(sht31ReadStatus);
sleep(Duration(milliseconds: 5));
return i2c.readWord(i2cAddress, BitOrder.msbFirst);
}