Quote Originally Posted by lerameur View Post
putting the 2,s compliment just befire works best:
but the temperature seems to cut in half,, showing -5C when it is -10C

Just getting +655 when I get to zero degrees.

Zerotemp: '------------- cases when zero celcius and positive Fahrenheit
temp1 = temperature
temperature = ((( temperature >>1 ) *100)- 25) + (((count_per_c - count_remain) * 100) / count_per_c)

if tempF <= 0 then goto ZeroF

temperature = ( ~ temperature ) + 1 ': tempf = ( ~ tempF ) + 1 ' added this
tempF = 3200 - ((temperature /5) * 9)

ZeroF: '---------------- cases when zero celcius and 0 Fahrenheit
tempF = 3200 - ((temperature /5) * 9)

goto loop

end
Why are you using:tempF = 3200 - ((temperature /5) * 9)
instead of tempF = ( ( ( temperature / 5 ) * 9 ) + 3200 ) ?

The positive case (the only one that's working) uses the +3200, the negative cases are using the 3200-.....

What's the deal there?