Skip to content

aSmig/Grove_3Axis_Digital_Compass

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

3 Axis Digital Compass Library

This is an Arduino library for Grove - 3-Axis Digital Compass(HMC5883L) from Seeed Studio.

Compass

How to use

Values of x, y and z read from the compass seem to have offsets. To calculate the offsets, rotate the compass to get minimum and maximum of x, y, and z.

offset = (minimum + maxmum) / 2
value = valueRaw - offset

For more information, please refer to wiki page.


This software is written by Seeed Studio
and is licensed under The LGPL License V2.1.

Contributing to this software is warmly welcomed. You can do this basically by
forking, committing modifications and then pulling requests (follow the links above
for operating guide). Adding change log and your contact into file header is encouraged.
Thanks for your contribution.

Seeed Studio is an open hardware facilitation company based in Shenzhen, China.
Benefiting from local manufacture power and convenient global logistic system,
we integrate resources to serve new era of innovation. Seeed also works with
global distributors and partners to push open hardware movement.

Analytics

About

Grove 3D compass library for Arduino using HMC5883L

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 57.0%
  • C++ 43.0%