Nucleo-64 version
Dependents: particle_filter_test read_sensor_data Bike_Sensor_Fusion Encoder ... more
Diff: LSM9DS0.cpp
- Revision:
- 8:08932ac08cb2
- Parent:
- 4:e79b970b0258
- Child:
- 9:60a176bd72b3
- Child:
- 10:73660c3d38f6
diff -r e79b970b0258 -r 08932ac08cb2 LSM9DS0.cpp --- a/LSM9DS0.cpp Thu Aug 18 14:59:18 2016 +0000 +++ b/LSM9DS0.cpp Tue Oct 25 06:21:28 2016 +0000 @@ -41,7 +41,7 @@ // //================================= -LSM9DS0::LSM9DS0(interface_mode interface, uint8_t gAddr, uint8_t xmAddr) : interfaceMode(SPI_MODE), spi_(D4,D5,D3), i2c_(I2C_SDA,I2C_SCL), csG_(D7), csXM_(D6) +LSM9DS0::LSM9DS0(interface_mode interface, uint8_t gAddr, uint8_t xmAddr) : interfaceMode(SPI_MODE), spi_(D4,D5,D3), i2c_(I2C_SDA,I2C_SCL), csG_(D9), csXM_(D6) { // interfaceMode will keep track of whether we're using SPI or I2C: interfaceMode = interface;