Switch #define for Z_MSB/Z_LSB and Y_MSB/Y_LSB. Per the datasheet it's X, Z, Y not X, Y, Z
Fork of HMC5883L by
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
1:77d45010744d | 2015-12-03 | AlpNov | Switched HMC5883L_Z_MSB/LSB and HMC5883L_Y_MSB/LSB as per the datasheet: https://aerospace.honeywell.com/~/media/Images/Plymouth%20Website%20PDFs/Magnetic%20Sensors/Data%20Sheets/HMC5883L_3-Axis_Digital_Compass_IC.ashx |
0:cad18db1e431 | 2013-12-12 | gmatjuara | coba |