Convert the temperature to an absolute value.
From the manual
Then you are back to IF < 10.....Just remember your sign...4.17.4. ABS
ABS returns the absolute value of a number. If a byte is greater than 127 (high bit set), ABS will return 256 - value. If a word is greater than 32767 (high bit set), ABS will return 65536 - value.
B1 = ABS B0





Bookmarks