You can add this function to calculate the dewpoint:
float calcDewpoint(float humi, float temp) {
float k;
k = log(humi/100) + (17.62 * temp) / (243.12 + temp);
return 243.12 * k / (17.62 - k);
}
You can add this function to calculate the dewpoint:
float calcDewpoint(float humi, float temp) {
float k;
k = log(humi/100) + (17.62 * temp) / (243.12 + temp);
return 243.12 * k / (17.62 - k);
}