9axis sensor
Dependents: HEPTA_assembly template HEPTA_GS
Fork of Hepta2_9axis by
Diff: Hepta9axis.h
- Revision:
- 2:306058b9d04e
- Parent:
- 0:5aaec0996753
diff -r 5b35162b3b6a -r 306058b9d04e Hepta9axis.h --- a/Hepta9axis.h Sat Aug 05 13:35:52 2017 +0000 +++ b/Hepta9axis.h Wed Aug 23 06:18:26 2017 +0000 @@ -2,13 +2,13 @@ #define MBED_HEPTA9AXIS_H #include "mbed.h" -class HeptaMPU9250 +class Hepta9axis { public: - I2C MPU9250; + I2C _9axis; int addr_accel_gyro; int addr_compus; - HeptaMPU9250( + Hepta9axis( PinName sda, PinName scl, int aaddr,