View Full Version : DS18B20
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.
Â*
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 "bug" gives -temps <0 C read as ascending from 128. Ex 129 = -1C, 130 = -2C etc
Fix when >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(
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.