Skip to content

temperature sensor mapping seems off? #6

@timsoftgit

Description

@timsoftgit

sample python code below:
from lsm303d import LSM303D
lsm = LSM303D(i2c_addr=0x1D)
print("temp is {:+05.1f} deg C".format(lsm.temperature()))

this is giving me -5.1deg C in my lounge (which should be around 21deg C )
testing with a second sensor gives a similar value ( -4.9deg C ) so it doesn't appear to be a faulty sensor, which implies the sensor reading to temperature mapping is wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions