Update of magnetometer example code for compatibility with HID access to I2C via USBI2C01A module.