DHT 11 library and NodeMCU problem

Hello, after a few plays with the Blynk witgets I started to make a motorhome controll system.

I like to place the NodeMCU v1.0 with a DHT 11 to measure the temperature and huminity. I add the DHT library to the Arduino 1.6.6 IDE but as soon the compiler sees the syntax:#include"DHT.h". I get a compiling error.

When I compile the syntax as if a UNO board is installed the error disapear. So it looks like the compilers has problems to compile it for the NodeMCU.

Is there a way to solve this?

Greetings André

Problem not solved but changed dht11 to sht1x and changed dht.h to sht1x.h and program runs ok!

thanks all guys!

1 Like