Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 13:e2d6617ed02a, committed 2022-08-19
- 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 |
--- 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);
--- 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;