Re: DS1820 Negative Numbers and OffSet

Originally Posted by
aratti
Why don't you use two different offsets? If you use N_OffSet for the negative number and P_OffSet for the positive number the operation will be:
LCD_Temperature = Sensor_Temperature + P_OffSet - N_OffSet
You have simply to set to zero the value not used.
Cheers
Al.
I Al,
It's a good idea, but i allready resolved the problem just with one variable, and it works like a charm. You can see my solution in the second post of this thread.
Thanks.
Thanks and Regards;
Gadelhas
Bookmarks