Basic python code for HMC5883L magnetometer