MPU9250 test with polling or ISR

Dependencies:   mbed

Revision:
1:0158e4d78423
Parent:
0:31cc139b7d1e
--- a/MPU9250.h	Sat Sep 10 14:15:19 2016 +0000
+++ b/MPU9250.h	Mon Nov 19 11:58:46 2018 +0000
@@ -4,7 +4,7 @@
 #include "mbed.h"
 #include "math.h"
 
-#define USE_ISR 1   // poll or data ready interrupt   
+#define USE_ISR 0   // poll or data ready interrupt   
 
 // See also MPU-9250 Register Map and Descriptions, Revision 4.0, RM-MPU-9250A-00, Rev. 1.4, 9/9/2013 for registers not listed in 
 // above document; the MPU9250 and MPU9150 are virtually identical but the latter has a different register map