Use the robtillaart's suggestion or have a look at post #15 " Multi Sensor Example" DS18B20 Reliable Reading Methods – Practical Implementation to Avoid Errors and Invalid Values - #14 by InquisitiveMind
Use the robtillaart's suggestion or have a look at post #15 " Multi Sensor Example" DS18B20 Reliable Reading Methods – Practical Implementation to Avoid Errors and Invalid Values - #14 by InquisitiveMind