Function return MMC5983MA_Magnetometer_Arduino_Library

In the library for Arduino at https://github.com/sparkfun/SparkFun_MM … _Library.h , the following functions return raw data:

// Get X, Y and Z field strengths in a single measurement bool getMeasurementXYZ(uint32_t *x, uint32_t *y, uint32_t *z);

// Read and return the X, Y and Z field strengths bool readFieldsXYZ(uint32_t *x, uint32_t *y, uint32_t *z);

What is actually returned by uint32_t *x, uint32_t *y, uint32_t *z?? I mean: is it voltage, current??

Thanks. AA

Gauss, I believe

Are you sure??.. the 3 numbers are more than 100,000 each.

No, I’m not sure…I was guessing based on what I could find in the docs

But it’s should be outputting some format that describes magnetic fields…

Are the docs you used available to me??

The sensor data sheet explains how to convert the raw data to conventional units.

Look for the sensitivity values, which are usually dividing scale factors, below.

Thank you!