CMM2: DS18B20 Temp sensor problem


Author Message
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 750
Posted: 07:52am 13 Mar 2025      

Many thanks, I appreciate that!

I found, that my sensor is reliably answering after 600ms for 9 and 10 bit.
Knowing that, I code regarding it. Your function does not deliver earlier I guess.
So the best would be, that tempr() would have parameters to overwrite the datasheet defaults. Anyway, tempr() is not usable at all for me only tempr start.
So if I would really want to have the reading right now, maybe this function comes into play.In any case it's good to know how it is done and you gave the shortcut..thanks!