Library to communicate with a ST LIS331DLH

Revision:
6:53e92e7fc073
Parent:
5:3443fb9646bd
Child:
7:7eeb1fe4d787
--- a/LIS331.h	Fri Jan 07 16:37:00 2011 +0000
+++ b/LIS331.h	Wed Feb 16 21:06:30 2011 +0000
@@ -202,11 +202,14 @@
      * 
      * @return The output on the z-axis in raw ADC counts.
      */
-    int getAccelZ(void);
+    float getAccelZ(void);
 
    
 private:
 
+   float scaling_factor;
+   int current_range;
+
     I2C i2c_;
 
 };