PDA

View Full Version : DS18B20



kjda
30-01-2006, 10:27
Can any one help me with code for negative celcius degrees on LCD with readtemp12 comand? I cant get the decimals values to count correct.

Â*

tarzan
30-01-2006, 10:43
http://www.phanderson.com/picaxe/ds18b20_2.html <A href='http://www.phanderson.com/picaxe/ds18b20_2.html' Target=_Blank>External Web Link</a>

Stan. SWAN
30-01-2006, 19:00
Brrrr! This subzero &quot;bug&quot; gives -temps &lt;0 C read as ascending from 128. Ex 129 = -1C, 130 = -2C etc
Fix when &gt;127 by subtracting 128.Thus b1=b1-128 Ex.-3= 131-128. (Ref Cmd HELP P.66)
Stan

Michael 2727
30-01-2006, 19:20
And that's only in Deg C,
wait till you try to convert it to Fahrenheit,,~ ;o(