We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
humidityCompensation()
1 parent d56a097 commit a11319cCopy full SHA for a11319c
src/hackair.cpp
@@ -207,7 +207,7 @@ void hackAIR::turnOff() {
207
208
// Normalization function written by Zbyszek Kiliański, Piotr Paul
209
// https://github.com/piotrkpaul/esp8266-sds011
210
-void humidityCompensation(hackAirData &data, float humidity) {
+void hackAIR::humidityCompensation(hackAirData &data, float humidity) {
211
data.pm25 = data.pm25 / (1.0 + 0.48756 * pow((humidity / 100.0), 8.60068));
212
data.pm10 = data.pm10 / (1.0 + 0.81559 * pow((humidity / 100.0), 5.83411));
213
}
0 commit comments