Closed Neko-vecter closed 1 month ago
Thanks. Good catch. I implemented a slightly different fix (commit d8d072b3).
-Kevin
This ticket is being closed because the underlying issue is now thought to be resolved.
Best regards, ~ Your friendly GitIssueBot
PS: I'm just an automated script, not a human being.
Fix abnormal reading when using
ACCELEROMETER_QUERY
andMEASURE_AXES_NOISE
.Below is what happen after commit
43ce7c0b9ad4f30277c10b086b86a0937dbfebbc
. TheACCELEROMETER_QUERY
andMEASURE_AXES_NOISE
reading are abnormal. It around 7 times larger than normal value.line 40 in
lis2dw.py
The LIS2DW and MCP9250 are using the ADXL345
SCALE
value.After change
self.axes_map
using the LIS2DWSCALE
value.Below is the result after using LIS2DW
SCALE
value.Signed-off-by: Vecter Fang vecterfang@icloud.com