Modified to also return int16_t values.

Fork of MMA8451Q by Johan Kritzinger

Revision:
6:2511055a5dd2
Parent:
5:2d14600116fc
--- a/MMA8451Q.h	Sun Mar 10 04:34:03 2013 +0000
+++ b/MMA8451Q.h	Fri Jun 07 03:14:46 2013 +0000
@@ -98,10 +98,19 @@
    */
   void getAccAllAxis(float * res);
   
+  /*******************************************************/
+  
+  int16_t getAccX_int();
+  int16_t getAccY_int();
+  int16_t getAccZ_int();
+  void getAccAllAxis_int(int16_t* res);
+  
+  /*******************************************************/
+  
+  
   /** JK
   * Setup Double Tap detection
  
- 
 Example:
 
 #include "mbed.h"