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.
Sensorcode_debug.c (1.83 KB)
What do you think these lines do?
They will do nothing.
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....