HMC6352

HMC6352 is a digital compass module from Honeywell.

It has a 16 bits range of precision.

Power
This module works with a DC 2.7 - 5.2 V power supply.

Interface: I2C
I2C (Only works with a 100KHz Bus Clock).

Heading data can be read out after an 'A' was written in to the module's address:


 * First byte: Higher 8 bits of data.


 * Second Byte: Lower 8 bits of data.

Arduino Code
This code segment was modified from Wiring Example