LSM303AGR Magnetometer weird readout, X, Y axis goes out of the range, Z axis always come with zero
I am using sensor tile to read out the LSM6DSM accelerometers, gyroscope, and LSM303AGR magnetometer data. Accelerometer and gyroscope work well, but magnetometer gives weird output. I set the full scale 50 gauss, the X, Y axis already goes out of th...