HMC58X3 Library

Fork of HMC58X3 by Yifei Teng

Revision:
1:72ecf7399250
Parent:
0:d84e1c7e4e86
Child:
2:c5ac16c88514
--- a/HMC58X3.h	Mon Jun 24 16:18:52 2013 +0000
+++ b/HMC58X3.h	Mon Jun 24 19:44:55 2013 +0000
@@ -84,8 +84,8 @@
 
 
 public:
-    HMC58X3(PinName sda, PinName scl);
-    
+    //HMC58X3(PinName sda, PinName scl);
+    HMC58X3(I2C i2c_);
     void init(bool setmode);
     void init(int address, bool setmode);
     void getValues(int *x,int *y,int *z);