hy,
I have a small problem using DH11, I got the sample code from the internet and when uploading it and looking at serial monitor I am getting -999 value for both temp and humidity
It's long ago that I worked with the DTH. You can print the value of chk; from memory it's an error code that you can find back in the source code of the library. 0 would mean "no error".