A quick adaptation of a library made for Arduino by Fabio Varesano Interface a Honeywell HMC58X3 magnetometer to a mbed via i2c.

Dependents:   FreeIMU FreeIMU

Fork of HMC58X3 by Aloïs Wolff

Embed: (wiki syntax)

« Back to documentation index

HMC58X3.h File Reference

HMC58X3.h File Reference

  • Interface a Honeywell HMC58X3 magnetometer to an Arduino via i2c.
More...

Go to the source code of this file.


Detailed Description

  • Interface a Honeywell HMC58X3 magnetometer to an Arduino via i2c.
Author:
Fabio Varesano <fvaresano@yahoo.it> Copyright (C) 2011 Fabio Varesano <fvaresano@yahoo.it> ported for Mbed by Aloïs Wolff

Based on: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1274748346 Modification/extension of the following by E.J.Muller http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino Copyright (c) 2009 Nirav Patel,

The above were based on: http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC58X3-v11.c http://www.atmel.com/dyn/resources/prod_documents/doc2545.pdf

This program is free software: you can redistribute it and/or modify it under the terms of the version 3 GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Definition in file HMC58X3.h.