MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / getHumidity

Method getHumidity

libraries/SHT31/SHT31.h:82–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 bool heatUp() { return isHeaterOn(); }; // will be obsolete in future
81
82 float getHumidity() { return _rawHumidity * (100.0 / 65535); };
83 float getTemperature() { return _rawTemperature * (175.0 / 65535) - 45; };
84 float getFahrenheit() { return _rawTemperature * (63.0 /13107.0) - 49; };
85 uint16_t getRawHumidity() { return _rawHumidity; };

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36