Driver debugging (scaling, ranges, endianess) MPU-6000 needs more love

This commit is contained in:
Lorenz Meier
2012-08-26 23:48:16 +02:00
parent 56e66a80cd
commit 2963dc679a
5 changed files with 129 additions and 60 deletions
+3 -3
View File
@@ -57,9 +57,9 @@ struct accel_report {
float z;
float range_m_s2;
float scaling;
uint16_t x_raw;
uint16_t y_raw;
uint16_t z_raw;
int16_t x_raw;
int16_t y_raw;
int16_t z_raw;
};
/** accel scaling factors; Vout = (Vin * Vscale) + Voffset */