Problem reading DS18B20 Temp with library

Hey Guys,

I’m working with the DS18B20 already some time, but at the moment I have a problem in my project, where the sensor gives only 0.0°C when read out.

The Examplecode works fine.

I added the code as attachment.

NG
Dr_Console

Sensorcode_debug.c (1.83 KB)

What do you think these lines do?

    readCore;
    readBox;

They will do nothing.

Well,
meanwhile I also found this mistake while rewriting the whole thing, and fixed it and now it works fine... -.-
Shame on me, thats the bill for midnight coding...
Thanks for the fast reply anyway, maybe some stupid guy like me finds this thread if he runs into the same mistake....

NG
Dr. Console