|
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 classMap, a member of class _ApplicationBase. | |
|
This is Create, a member of class HAHumidityBase. | |
|
This is CreateApplicationBase, a member of class _ApplicationBase. | |
| ||
|
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 | |
|
Hum [double] Expressed as Percent (%) | |
|
This is getImplementedSensors, a member of class _ApplicationBase. | |
|
This is getProfileType, a member of class HAHumidityBase. | |
|
Temperature [double] Expressed as Celsius | |
|
This is GetType, a member of class _ApplicationBase. | |
|
This is setHum, a member of class HumidityBase. | |
|
This is setTemperature, a member of class HumidityBase. |