9axis-sensor library

Dependents:   HEPTA_SENSOR

Files at this revision

API Documentation at this revision

Comitter:
RyusukeIwata
Date:
Fri Aug 19 03:00:21 2022 +0000
Parent:
12:f52c96610b21
Commit message:
changed ver 2

Changed in this revision

Hepta9axis.cpp Show annotated file Show diff for this revision Revisions of this file
Hepta9axis.h Show annotated file Show diff for this revision Revisions of this file
diff -r f52c96610b21 -r e2d6617ed02a Hepta9axis.cpp
--- a/Hepta9axis.cpp	Fri Aug 19 02:44:02 2022 +0000
+++ b/Hepta9axis.cpp	Fri Aug 19 03:00:21 2022 +0000
@@ -4,7 +4,6 @@
 #define MAG 0x13<<1 //addr_compus
 #define GYRO 0x69<<1 //addr_gyro
 
-//Hepta9axis::Hepta9axis(PinName sda, PinName scl, int aaddr, int agaddr) : n_axis(sda,scl),addr_accel_gyro(aaddr),addr_compus(agaddr)
 Hepta9axis::Hepta9axis(PinName sda, PinName scl, int aaddr, int agaddr, int amaddr) : n_axis(sda,scl),addr_accel(aaddr),addr_gyro(agaddr),addr_compus(amaddr)
 {
     n_axis.frequency(100000);
diff -r f52c96610b21 -r e2d6617ed02a Hepta9axis.h
--- a/Hepta9axis.h	Fri Aug 19 02:44:02 2022 +0000
+++ b/Hepta9axis.h	Fri Aug 19 03:00:21 2022 +0000
@@ -6,7 +6,6 @@
 {
 public:
     I2C n_axis;
-//    int addr_accel_gyro;
     int addr_accel;
     int addr_gyro;
     int addr_compus;