Skip to content

Temperature fix for firmware versions over 5.

Latest
Compare
Choose a tag to compare
@WifWaf WifWaf released this 28 Jul 22:35
· 3 commits to master since this release
49658e5

The temperature of the sensor for firmware versions greater than 5 has received a fix.

04a6f85 Please note: older versions no longer offer a float argument for the getTemperature() function. Instead, the value returned is in accordance with the datasheet. This is due to the float version being somewhat unreliable. As a result, temperature values received in older library versions will see an increase by 2C as the offset used in the datasheet differed.

The firmware version (the major version) is obtained on initiation and used to determine which temperature code to run.

Please report any issues as there are many firmware versions and I have only two sensors.