Modified LSM9DS1 Library

Dependents:   LSM9DS1_Demo BLE_LoopbackUART_with_LSM9DS1 BLE_LoopbackUART_with_LSM9DS1-2

Fork of LSM9DS1 by Eugene Gonzalez

Revision:
3:f96b287c0bf7
Parent:
1:0e76f237c23d
Child:
4:7ffcb378cfd4
--- a/LSM9DS1.h	Fri Jun 17 21:12:22 2016 +0000
+++ b/LSM9DS1.h	Tue Jun 21 22:27:17 2016 +0000
@@ -201,6 +201,7 @@
     float ax, ay, az;
     float mx, my, mz;
     float temperature_c, temperature_f; // temperature in celcius and fahrenheit
+    float intr;
 
     
     /**  LSM9DS1 -- LSM9DS1 class constructor
@@ -259,6 +260,7 @@
     *  those _after_ calling readMag().
     */
     void readMag();
+    void readIntr();
     
     /**  readTemp() -- Read the temperature output register.
     *  This function will read two temperature output registers.
@@ -348,6 +350,8 @@
     */
     void initAccel();
     
+    void initIntr();
+    
     /**  initMag() -- Sets up the magnetometer to begin reading.
     *  This function steps through all magnetometer-related control registers.
     */