Normalized values in Q12

This commit is contained in:
2026-03-20 15:43:14 +01:00
parent 00e354c2b3
commit 1b6bd537ad
5 changed files with 123 additions and 26 deletions

View File

@@ -52,9 +52,9 @@ typedef struct
{
struct
{
int16_t x;
int16_t y;
int16_t z;
int32_t x; // Fixed point Q.12
int32_t y; // Fixed point Q.12
int32_t z; // Fixed point Q.12
} acc, gyr;
uint32_t time;
} bmi160_value_t;