Java Mine
ContentsIndexHome
PreviousUpNext
HumidityBase Methods

The methods of the HumidityBase class are listed here.

 
Name 
Description 
 
////---------------------------------------------------------------------------------------- //// calculates temperature [°C] and humidity [%RH] //// input : humi [Ticks] (12 bit) (ALREADY CONVERTED TO DECIMAL) //// temp [Ticks] (14 bit) (ALREADY CONVERTED TO DECIMAL) //// output: humi [%RH] //// temp [°C] //void calc_sth11(float* p_humidity, float* p_temperature) //{ // const float C1 = -4.0; // for 12 Bit // const float C2 = +0.0405; // for 12 Bit // const float C3 = -0.0000028; // for 12 Bit // const float T1 = +0.01; // for 14 Bit @ 5V // const float T2 = +0.00008; // for 14 Bit @ 5V
// float rh = *p_humidity;... more 
 
This is CalcTemperature, a member of class HumidityBase. 
 
This is Create, a member of class HumidityBase. 
 
This is getData, a member of class HumidityBase. 
 
Returns default configurations for the sensor
@param version The version of the Sensor @param platform The Firmware Generation of your device. i.e. Commercial, Alta, Wifi @return Default configurations for the sensor 
 
This is getHum, a member of class HumidityBase. 
 
This is getProfileType, a member of class HumidityBase. 
 
This is getTemperature, a member of class HumidityBase. 
 
This is setHum, a member of class HumidityBase. 
 
This is setTemperature, a member of class HumidityBase. 
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!