Nucleo-64 version
Dependents: particle_filter_test read_sensor_data Bike_Sensor_Fusion Encoder ... more
Diff: LSM9DS0.h
- Revision:
- 11:9f14f399d569
- Parent:
- 10:73660c3d38f6
--- a/LSM9DS0.h Tue Nov 21 05:55:24 2017 +0000 +++ b/LSM9DS0.h Thu Apr 11 11:54:51 2019 +0000 @@ -394,9 +394,11 @@ DigitalOut csG_; DigitalOut csXM_; + float pitch, roll; - void complementaryFilter(float * data, float dt); + void complementaryFilter(float data[6], float dt); + float debug; private: // xmAddress and gAddress store the I2C address or SPI chip select pin // for each sensor.