jarzebski / Arduino-MS5611

Barometric Pressure & Temperature Sensor Arduino Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library hangs if temperature< 20

RC-Thoughts opened this issue · comments

Library hangs whole sketch when temperature comes down below 20.

Fix:

In MS5611.cpp change line 184 from
TEMP2 = (dT * dT) / (2 << 30);
to
TEMP2 = (dT * dT) / pow(2, 31);

And all is well again.

Please Update your Lib.

will be fixed in 1.1.0 release