Help chaging ds18b20 data in to a tempurature

Ok, so I'm just starting to figure out how to work with the bits and bytes of the ds18b20. I even figured out the math on how to convert the binary numbers for the temperature to turn it into DEC. But I cannot figure out how to take this:

R=28 44 E5 70 1 0 0 BC P=1 24 1 4B 46 7F FF C 10 48  CRC=48

But really the only important part I'm worried about is:

R=28 44 E5 70 1 0 0 BC P=[glow]1 24[/glow] 1  4B 46 7F FF C 10 48  CRC=48

Which is HEX

So once I break it down into binary I get:

000100100100

Only thing that matters:

0[glow]0010010[/glow]0100

Which turns into:

18*C

[glow]0[/glow]00100100100

Shows positive

00010010[glow]0100[/glow]

Shows decimal point (I know how but for the sake of boringness I won't elaborate)

Getting back to my question how do I just do what I did with Arduino code?

The web page...

... is perhaps the worst I have on the web... but in Program 2 (in that), there is actually the code for processing the data from a DS1820... if you can find it! Sorry.

The DS1820 returns two bytes.

One will either be 0 or 255 (All zeros, or all 1's)

If all zeros, your tture is above 0 deg C, and the number in the other byte is the number of half-Celsius degrees above 0 that the sensor saw. E.g., if the byte says 30, the tture is 15 degrees C; 31: 15.5 degrees, etc.

(If the one that's either 0 or 255, put the two bytes together, and you are looking at the 2's complement of the tture in half degrees. Do you REALLY want to deal with negative ttures? You CAN.. if you want to. Program 2 gives an answer.)

Hello,

Maybe a way to read Celcius degrees with DS18B20 here :

http://www.netfluvia.org/code/ds18B20_test.pde

A post about on French Arduino forum :

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1209105786/0

Also check out: Peter Anderson's guide+code for interfacing with DS18B20.