HMC6352 Library

Revision:
1:1f500fa755c8
Parent:
0:78e66010e47b
Child:
2:dc4867624d5a
diff -r 78e66010e47b -r 1f500fa755c8 HMC6352.h
--- a/HMC6352.h	Thu Feb 11 12:18:33 2010 +0000
+++ b/HMC6352.h	Sun Mar 28 20:23:44 2010 +0000
@@ -55,6 +55,8 @@
     void wakeUp();
     void goToSleep();
     
+    void startCalibrate();
+    void endCalibrate();
     void calibrate(int delay = 20);
     
     // Get the mode section of tyhe operation byte from RAM.
@@ -68,6 +70,8 @@
     HMC6352::Output getOutput();
     void setOutput(HMC6352::Output output);
 
+    inline float version() const { return 0.1; }
+
 private:
     // Clears the contents of the buffer to 0x0
     void _clearBuffer();