magnetometer

Dependents:   10dof Bracelet_Orientation-Course Test_Boussole_moteur

Switched Y and Z registers

Switch #define for Z_MSB/Z_LSB and Y_MSB/Y_LSB. Per the datasheet it's X, Z, Y not X, Y, Z https://aerospace.honeywell.com/~/media/Images/Plymouth%20Website%20PDFs/Magnetic%20Sensors/Data%20Sheets/HMC5883L_3-Axis_Digital_Compass_IC.ashx

Switch #define for Z_MSB/Z_LSB and Y_MSB/Y_LSB. Per the datasheet it's X, Z, Y not X, Y, Z