Please don't forget to connect a 2.2k resistor between Pin-2 of DS18B20 and 5V.
You might also consider using the value recommended in the data sheet, 4.7k.
Don
Please don't forget to connect a 2.2k resistor between Pin-2 of DS18B20 and 5V.
You might also consider using the value recommended in the data sheet, 4.7k.
Don