LSM303dhlc compass - accel

See revised post #5. There are serious problems in your transfer of data from magneto to the code.

I go the codes from this post.

Not a good source of information. Some of it is just wrong.