-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hi,
I bought a couple of SparkFun ISM330DHCX + MMC5983MA modules. Really accurate sensors, thank you.
Testing MMC5983MA with your library I encountered a strange problem though. Running the example Example1-I2C_Simple_measurement.ino I get wrong measurements in every 16th time the measurement is taken. It does not depend on the delay number at the end of the loop. With delay bigger or smaller, the wrong measurement occurs every 16th time.
When using the call
currentX = myMag.getMeasurementX();
currentY = myMag.getMeasurementY();
currentZ = myMag.getMeasurementZ();
all axes have wrong measurements
When using the call
myMag.getMeasurementXYZ(¤tX, ¤tY, ¤tZ);
only X axis has wrong measurements
For clarity I have added screenshots of Arduino serial plotter view.
I am using the 1.0.3 version of the library and I am running the code on ESP32.
Hopefully you can solve this problem.
Thank you beforehand,
Fred

