[issue #10] Fixed encoding of temperature value read from sensors
The value of temperature that is read from register of the T100 sensor is encoded with twos complement on 16 bits. The encoding was not proper thus it worked fine but only for positive values of temperature. Added function that properly interprets the value of temp read from sensor's regsister.
Showing
Please
register
or
sign in
to comment