Skip to content

Seeed-Studio/Grove_3Axis_Digital_Compass_HMC5883L

Repository files navigation

Grove 3-Axis Digital Compass HMC5883L Build Status

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

Compass

Grove 3-Axis Digital 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

Packages

No packages published

Languages