Skip to content

ahpohl/mag3110

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

A C++ library for the SparkFun 3-axis magnetometer breakout board

The MAG3110 library has been derived from the Sparkfun Arduino library and ported to C++ to allow embedded devices such as the Raspberry Pi with an I2C bus to use the breakout board directly. It uses much of the same API as the original library. However, a couple of methods have been renamed, added or removed. The complete documentation of the MAG3110 class and its methods can be found here including some basic examples to get you started.

Freescale’s MAG3110 is a small, low-power, digital 3-axis magnetometer. The device can be used in conjunction with a 3-axis accelerometer to realize an orientation independent electronic compass that can provide accurate heading information. It features a standard I2C serial interface output and is capable of measuring magnetic fields with an output data rate (ODR) up to 80 Hz; these output data rates correspond to sample intervals from 12.5 ms to several seconds. For details see the technical reference documentation.

License

The library is licensed under the GNU Public License - see the LICENSE file for details. The library is provided as-is without any warranty given.

About

A C++ library for the SparkFun 3-axis magnetometer breakout board

Resources

License

Stars

Watchers

Forks

Packages

No packages published