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.
Diff: LIS331.cpp
- Revision:
- 3:147d95b7a525
- Parent:
- 2:d4b810a888b5
- Child:
- 4:c3df518a938e
--- a/LIS331.cpp Wed Nov 17 18:29:47 2010 +0000 +++ b/LIS331.cpp Wed Nov 17 18:34:25 2010 +0000 @@ -47,7 +47,7 @@ char LIS331::getWhoAmI(void){ //WhoAmI Register address. - char tx = WHO_AM_I_REG; + char tx = WHO_AM_I_REG_LIS331; char rx; i2c_.write((LIS331_I2C_ADDRESS << 1) & 0xFE, &tx, 1);