Hi to group! Is there anybody who can give me an example code with DS18B20 and PIC? I've tried to write a code but, although it seems there is a = communication between DS18B20 and PIC, I can not receive correct results = -the displayed temperature is not the right one. The part of the code = that converts the temperature output of DS18B20 in the right format in = order to be displayed on the LCD, is correct. I've tested it with MPLAB = simulator.=20 Thank you. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: "[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's