Hi All, I have just got the DS1820 temp sensor working with a '84 and can read the temperature just fine, but my knowledge of PIC programming doesn't reach to the maths involved to get the extended temp range. Could anyone give me any pointers as how I could do the following: Final_temp = temp_read - 0.25 + (Count_per_degree_c - Count_remain) ----------------------------------- Count_per_degree_c temp_read,count_per_degree_c and count_remain are all 8 bits long. Any advice or pointers most gratefully recieved. Merry Xmas!! -- Regards, Darren. darren@nitebeat.demon.co.uk