Datasheet
and adding 32 as you have learned in grade school!
Reading the humidity is equally simple. Call
to read the humidity also as a floating point value between 0 and 100 (this reads % humidity)
We also have a few helper functions. Want to soft-reset the sensor? Use
There's also a heater built into the sensor, used to heat/evaporate any condensation. You can turn it on or off with
sht31.readHumidity()
sht31.reset()
sht31.heater(true)
sht31.heater(false)
© Adafruit Industries https://learn.adafruit.com/adafruit-sht31-d-temperature-and-humidity-sensor-breakout Page 14 of 20










