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 GM AT

Download repository: zip gz

Files at revision 1:77d45010744d

Name Size Actions
[up]
HMC5883L.cpp 3951 Revisions Annotate
HMC5883L.h 5728 Revisions Annotate