The library for the HMC5883L, which allows you to receive directional information from this library.

Dependents:   Seeed_Grove_Digital_Compass_Example

Fork of HMC5883L by Tyler Weaver

Revision:
3:14d274e0f9de
Parent:
2:8eb755577f83
--- a/HMC5883L.h	Thu Nov 01 18:43:52 2012 +0000
+++ b/HMC5883L.h	Tue Nov 06 17:25:45 2012 +0000
@@ -196,7 +196,7 @@
     *
     * @param output buffer that is atleast 3 in length
     */
-    void getXYZ(int raw[3]);
+    void getXYZ(int16_t raw[3]);
     
     /**
     * Function for retrieving the contents of status register