Arduino sketch that implements the self test features of the Honeywell HMC5883L magnetometer