Overview

Driver for a Honeywell HMC6343 digital compass.

Resources

All correct at time of writing, but as always, manufacturers love to move things around on their website.

Web page

http://www.magneticsensors.com/

Datasheet

http://www51.honeywell.com/aero/common/documents/myaerospacecatalog-documents/Missiles-Munitions/HMC6343.pdf

Test hardware

This code has been tested using a SparkFun HMC6343 breakout:

http://www.sparkfun.com/products/8656/

This was wired to a CoreProto and plugged into a SenseCore:

http://soldercore.com/products/sensecore/

And finally installed on a SolderCore:

http://soldercore.com/products/soldercore/

API Summary

Macros
HMC6343_I2C_ADDR HMC6343 8-bit I2C address
Functions
hmc6343_read_heading Read heading from compass