2014-06-05 03:24 AM
I try to read both temperature and accelerometer data from LIS3DH. I get accelerometer data but the temperature value is stuck.
I have set both ADC_PD and TEMP_EN in the TEMP_CFG_REG.I would like to have some example code that I can follow.2014-06-05 06:12 AM
Update
I think I know why it didn't work. I think I sent the register settings to the LIS3DH to early. I think my MCU wakes up faster than the LIS3DH.So now when I send the register settings to the LIS3DH I read them all back to really make sure they got changed.So now it works.