if temp.8 = 1 then ' If bit8 of temperature is set then its negative
sign = "-" ' Indicate temperature is NEGATIVE
temp.lowbyte = temp.lowbyte ^ 255 ' Reverse the bits of the lowbyte of TEMP
sign = "+" ' Indicate temperature is POSITIVE
endif
> So, no sign if positive , or + sign if negative ??? ... doesn't really mean the same.
> And I'm wondering if "sign" value is defined somewhere else ...if positive !
Alain




Bookmarks