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:
- 8:ff365f926a52
- Parent:
- 6:53e92e7fc073
- Child:
- 9:5af73355984f
--- a/LIS331.cpp Wed Feb 16 21:12:59 2011 +0000
+++ b/LIS331.cpp Fri Jul 01 21:07:25 2011 +0000
@@ -163,7 +163,7 @@
-int LIS331::getAccelX(void){
+float LIS331::getAccelX(void){
char tx = ACCEL_XOUT_H_REG;
char rx[2];
@@ -178,7 +178,7 @@
}
-int LIS331::getAccelY(void){
+float LIS331::getAccelY(void){
char tx = ACCEL_YOUT_H_REG;
char rx[2];