HMC5883L 3-axis compass
Arduino code for the HMC5883L 3-axis compass
For complete hookup and tutorial see bildr.org: http://bildr.org/2012/02/hmc5883l_arduino/
The code is provided under the MIT license please use, edit, change, and share.
The HMC5883L library has been modified for use with this example and is provided under the GPL license.
Before loading the HMC5883L example code, or even opening the arduino software, place the HMC5883L folder in your arduino library.
ARDUINO LIBRARY LOCATION
- On your Mac:: In (home directory)/Documents/Arduino/libraries
- On your PC:: My Documents -> Arduino -> libraries
- On your Linux box: (home directory)/sketchbook/libraries