/// <summary> /// Reset the sensor. /// </summary> public void Reset() { Standby = true; _mag3110.WriteRegister((byte)Registers.Control1, 0x00); _mag3110.WriteRegister((byte)Registers.Control2, 0x80); _mag3110.WriteRegisters((byte)Registers.XOffsetMSB, new byte[] { 0, 0, 0, 0, 0, 0 }); }