Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.63 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.63 KB

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