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.pdfNotes
HMC6352 Signal Name | mbed pin |
---|---|
Vcc | Vout |
Gnd | Gnd |
SCL | p27 |
SDA | p28 |
You need to log in to post a discussion