You are here: Symbol Reference > Monnit Namespace > HumiditySHT25Base Class > HumiditySHT25Base Methods > HumiditySHT25Base.GetDefaults Method
HumiditySHT25Base.GetDefaults Method
HumiditySHT25Base Class  HumiditySHT25Base Members  HumiditySHT25Base Methods  Send Feedback
Syntax
C++
C#
Visual Basic
Dictionary<string, object> GetDefaults(Version version);

float calc_dewpoint(float h, float t) /-------------------------------------------------------------------- / calculates dew point / input: HumiditySHT25 [%RH], temperature [°C] / output: dew point [°C] { float logEx, dew_point; logEx = 0.66077 + 7.5 * t / (237.3 + t) + (log10(h) - 2); dew_point = (logEx - 0.66077) * 237.3 / (0.66077 + 7.5 - logEx); return dew_point;