Skip to main content
Visitor II
August 7, 2018
Question

LIS2DE12 temperature conversion

  • August 7, 2018
  • 1 reply
  • 527 views

We have an LIS2DE12 accessed via i2c.

We set:

0x20 to 0x1f

0x1f to 0xc0

0x23 to 0x80

Then we read 0x07 until TDA is set.

Finally, we read temperature data.

Example 1:

0x0c = 0x00

0x0d = 0x13

Example 2:

0x0c = 0x80

0x0d = 0xdf

How do we convert these values to degrees?

    This topic has been closed for replies.

    1 reply

    ST Employee
    August 10, 2018