raspberrypi / pico-examples

BSD 3-Clause "New" or "Revised" License
2.61k stars 778 forks source link

lis3dh_i2c: fix TEMP_CFG_REG address #483

Open 602p opened 3 months ago

602p commented 3 months ago

TEMP_CFG_REG is 0x1F, not 0xC0. I suspect this is just a typo since the value written to it is 0xC0.

See https://www.mouser.com/datasheet/2/389/lis3dh-1849589.pdf#[{%22num%22%3A141%2C%22gen%22%3A0}%2C{%22name%22%3A%22XYZ%22}%2C61%2C439%2Cnull] .

peterharperuk commented 3 months ago

Thanks. Looks good