Small program for reading the magnetometer of a LSM303DLHC device and displaying it