Does the Python module for the ICM20948 have a method to get scaled values like in Arduino?
I am working on displaying sensor readings on the data page of my Robot program and need to know how to get scaled values.
Dale
Does the Python module for the ICM20948 have a method to get scaled values like in Arduino?
I am working on displaying sensor readings on the data page of my Robot program and need to know how to get scaled values.
Dale
If you can read the raw values, it is trivial to scale them. The scale factors are given in the ICM_20948 data sheet.
jremington the thing is I am not nor will i ever be qualified as a programmer. I am a very qualified mechanic with mechanical design training.
There are no examples on setting the scales but I figure it out anyway and as there is an API in the Arduino Library I now have code to scale the values. But this really should be a method in the driver module, not something you copy and past from program to program.
Dale the mechanic
Great that you managed to solve the problem!
Unfortunately, the scaled values are not particularly meaningful unless you have calibrated the sensor, at the very least to remove the offsets.