9axis-sensor library

Dependents:   HEPTA_SENSOR

Revision:
11:5ff9e40af5db
Parent:
10:2b227e8928ae
--- a/Hepta9axis.cpp	Wed Aug 17 07:04:20 2022 +0000
+++ b/Hepta9axis.cpp	Wed Aug 17 07:50:19 2022 +0000
@@ -71,7 +71,6 @@
         if(gyroscope[i]>32767)gyroscope[i]-=65536;
         gyroscope[i]=gyroscope[i]*125/2048;
     }
-    //printf("gx = %2.4f, gy = %2.4f, gz = %2.4f\r\n",gyroscope[0],gyroscope[1],gyroscope[2]);
     *gx = gyroscope[0];
     *gy = gyroscope[1];
     *gz = gyroscope[2];
@@ -111,7 +110,6 @@
         if(i==2 && magnet[i]>16383)magnet[i]-=32768;
         else if(i!=2 && magnet[i]>4095)magnet[i]-=8092;
     }
-    //printf("mx = %2.4f, my = %2.4f, mz = %2.4f\r\n\n",magnet[0],magnet[1],magnet[2]);
     *mx = magnet[0];
     *my = magnet[1];
     *mz = magnet[2];