Displaying problems with DS18B20

please use the # button around code (you can modify your previous post, select the code and press it. It will look much better :wink:

wrt your problem, you need to check the return values of some of the calls as they return different values for wrong readings.

And always check the wires, replace sensors to see if it is HW.

Finally, I always start with one of the demo programs of the library to see if all is connected well.

Succes