9axis-sensor library

Dependents:   HEPTA_SENSOR

Revision:
12:f52c96610b21
Parent:
10:2b227e8928ae
Child:
13:e2d6617ed02a
diff -r 2b227e8928ae -r f52c96610b21 Hepta9axis.h
--- a/Hepta9axis.h	Wed Aug 17 07:04:20 2022 +0000
+++ b/Hepta9axis.h	Fri Aug 19 02:44:02 2022 +0000
@@ -6,13 +6,16 @@
 {
 public:
     I2C n_axis;
-    int addr_accel_gyro;
+//    int addr_accel_gyro;
+    int addr_accel;
+    int addr_gyro;
     int addr_compus;
     Hepta9axis(
         PinName sda,
         PinName scl,
         int aaddr,
-        int agaddr
+        int agaddr,
+        int amaddr
     );
     void setup();
     void sen_acc(float *ax,float *ay,float *az);