HMC5843 Digital Compass

The HMC5843 is a 3-axis digital compass with an I2C interface.

Hello World

Import programHello_World_HMC5843

HMC5843 Hello World example

Library

Import libraryHMC5843

Add functions to get Mx, My and Mz.

Datasheet

http://www.ssec.honeywell.com/magnetic/datasheets/HMC5843.pdf

Notes

HMC6352 Signal Namembed pin
VccVout
GndGnd
SCLp27
SDAp28

You need to log in to post a discussion