Add functions to get Mx, My and Mz.

Dependents:   9DOF-Stick aigamozu_program_ver2 aigamozu_program_ver2_yokokawa aigamozu_auto_ver1 ... more

Files at this revision

API Documentation at this revision

Comitter:
elrafapadron
Date:
Sat Oct 23 23:39:03 2010 +0000
Parent:
0:ae7d06398888
Child:
2:fdab96fc6fff
Commit message:
removed comments

Changed in this revision

HMC5843.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/HMC5843.cpp	Sun Oct 17 22:22:39 2010 +0000
+++ b/HMC5843.cpp	Sat Oct 23 23:39:03 2010 +0000
@@ -138,14 +138,4 @@
     readings[2]= (int)rx[0]<<8|(int)rx[1];
     
 
-    //readings[0] = (int)buffer[0] << 8 | (int)buffer[1];
-    //readings[1] = (int)buffer[2] << 8 | (int)buffer[3];
-    //readings[2] = (int)buffer[4] << 8 | (int)buffer[5];
-    
-   // readings[0]=buffer[0];
-     //readings[1]=buffer[1];
-     // readings[2]=buffer[2]; 
-       // readings[3]=buffer[3];
-         // readings[4]=buffer[4];
-           // readings[5]=buffer[5];
 }