LSM9DS0
Fork of LSM9DS0 by
Revision 13:b9e5363b8c38, committed 2018-06-08
- Comitter:
- cpul5338
- Date:
- Fri Jun 08 14:11:26 2018 +0000
- Parent:
- 11:08c1c6f4c648
- Commit message:
- 2018/06/08
Changed in this revision
LSM9DS0.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 08c1c6f4c648 -r b9e5363b8c38 LSM9DS0.cpp --- a/LSM9DS0.cpp Tue Apr 25 06:55:58 2017 +0000 +++ b/LSM9DS0.cpp Fri Jun 08 14:11:26 2018 +0000 @@ -41,7 +41,7 @@ // //================================= -LSM9DS0::LSM9DS0(interface_mode interface, uint8_t gAddr, uint8_t xmAddr) : interfaceMode(SPI_MODE), spi_(PB_15,PB_14,PB_13), i2c_(I2C_SDA,I2C_SCL), csG_(PB_1), csXM_(PB_2) +LSM9DS0::LSM9DS0(interface_mode interface, uint8_t gAddr, uint8_t xmAddr) : interfaceMode(SPI_MODE), spi_(PB_15,PB_14,PB_13), i2c_(I2C_SDA,I2C_SCL), csG_(PB_2), csXM_(PB_1) { // interfaceMode will keep track of whether we're using SPI or I2C: interfaceMode = interface;