LIS2DW12 temperature reading fluctuates
Hi,I have created a small function that reads out the 8-bit temperature register in the lis2dw12 sensor. The code is shown belowstatus lis2dw12::temperature(int8_t *temp) { *temp = static_cast<int8_t>(read_reg(REG_OUT_T)) + 25; printf("%d\r...