SHT31 class
Sensirion SHT31 temperature and humidity sensor with a high accuracy.
See for more
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- i2c → I2C
-
final
- i2cAddress → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getSerialNumber(
) → int - Returns the serial number of the sensor.
-
getStatus(
) → int - Returns the status of the sensor.
-
getValues(
) → SHT31result - Reads a SHT31result from the sensor with a high accuracy in a period of 500 milliseconds.
-
heater(
bool heater) → void -
Enables or disables the
heater
on the sensor to heat/evaporate any condensation. This command can destroy the sensor, if the heater runs too long! -
isHeaterOn(
) → bool - Checks if the heater is on.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Resets the sensor.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited