JohnySeven / TWatchSK

TTGO T-Watch 2020 v1 supporting Signal K features for displaying boat data and controlling devices on board.
MIT License
9 stars 1 forks source link

K to F Temperature Conversion Incorrect Ver 1.2 #93

Closed RichFind closed 2 years ago

RichFind commented 2 years ago

K to F With an input of 281.25 the conversion produces an output of 176.62 when the result should be 46.58

I don't think that °F = (K − 273.15) × 1.8 + 32 can be easily implemented in the current scheme.

My own fault for living in a country that refuses to accept the world standard.

JohnySeven commented 2 years ago

@RichFind good point, we'll look into it ASAP.

ba58smith commented 2 years ago

I think you just need to rework the equation so that it's one multiplication and one addition. I'll look into it later today.

ba58smith commented 2 years ago

@RichFind, use this formula, which you can implement in TWatchSKDesigner. Fahrenheit = Kelvin × 1.8 - 459.67 https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html