Driver for a Honeywell HMC5843 magnetometer.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
This code has been tested using a SparkFun HMC5843 breakout: http://www.sparkfun.com/products/9371
This was wired to a CoreProto and plugged into a SenseCore:
And finally installed on a SolderCore:
|Communication||up to 400 kHz (I2C)|
|HMC5843_I2C_ADDR||HMC5843 8-bit I2C address|
|hmc5843_initialize_i2c||Initialize sensor on I2C bus|