ITADN

BMI270 gyro temperature 0

#113ClosedSekilsgs2 创建于 2024-02-10
S
Sekilsgs2commented
Please add temperature code to driver. ``` bmi270_read_data(BMI270_REG_TEMPERATURE_LSB, buf,2); data->temp = (float)((int16_t)((buf[1] << 8) | buf[0])) / 512.0 + 23.0 ; ```
关闭于 2024-07-22 0 条评论