User Activity

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...
Hi,I have a very simple (read: stupid) question in regards to the LIS2DW12 asix alignment (sign).I have implemented my own driver, but it is heavily based on this code: https://github.com/STMicroelectronics/STMems_Standard_C_drivers/blob/master/lis2d...