Skip to content

Conversation

@danielfaust
Copy link

Temperatures below the freezing point would result in temperatures above 3276.7°C, due to the overflow not getting handled. Solution is to subtract 32767 and then reverse the sign.

I did the same for the humidity, just in case.

Temperatures below the freezing point would result in temperatures above 3276.7°C, due to the overflow not getting handled. Solution is to subtract 32767 and then reverse the sign.

I did the same for the humidity, just in case.
@danielfaust danielfaust deleted the patch-1 branch November 24, 2015 13:52
@danielfaust
Copy link
Author

There's something strange with this code, at low temps still above 0 °C the readings get jumpy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant