Hi,
I was trying the sample code to read the Dallas DS1820 and it seemed to be a bit confusing.
I was under the impression that the devices return their temperatures in a random order. Is it so ?
So I wrote a function that prepares a table of all the devices present (up to 3, all my samples) and then queries their temperatures one by one in the desired order.
Does this make sense to any of you ? Would you be intereseted in my code ? Or is it that I didn't understand the original example and all that wasn't needed ?
Thanks !
Each one-wire device has a unique ID - you just have to know which ID corresponds to which sensor, then it doesn't matter what order they identify themselves to the bus.
Hi,
Let'S me no to test some code!
thx ]