This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
I'm using NodeMCU and every couple of minutes I'm getting this issue: After troubleshooting, I find out that these functions are the reason but I don't why void humidity() { delay(2000); float h = dht.readHumidity(); float t = dht.readTemperature(); Serial.print("Hum: "); Serial.println(h); Serial.print("Temp: "); Serial.println(t); if (isnan(h) || isnan(t)) { [...] read more