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.
Fork of LSM9DS0 by
Revision 11:08c1c6f4c648, committed 2017-04-25
- Comitter:
- cpul5338
- Date:
- Tue Apr 25 06:55:58 2017 +0000
- Parent:
- 9:c2241ae1eb3f
- Child:
- 12:5f5c54a56862
- Child:
- 13:b9e5363b8c38
- Commit message:
- 2123
Changed in this revision
| LSM9DS0.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/LSM9DS0.cpp Mon Feb 13 14:32:36 2017 +0000
+++ b/LSM9DS0.cpp Tue Apr 25 06:55:58 2017 +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_(D9), csXM_(D6)
+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)
{
// interfaceMode will keep track of whether we're using SPI or I2C:
interfaceMode = interface;
