NRF+MPU6050

Dependencies:   mbed nRF24L01P

Revision:
6:ad2f9458ab75
Parent:
5:6a93542b8922
--- a/MPU6050.h	Mon Apr 15 05:16:57 2019 +0000
+++ b/MPU6050.h	Sun Sep 01 10:33:23 2019 +0000
@@ -698,7 +698,7 @@
   uint8_t whoami = readByte(MPU6050_ADDRESS, WHO_AM_I_MPU6050);  // Read WHO_AM_I register for MPU-6050
 //  Serial_2.printf("I AM 0x%x\n\r", whoami); Serial_2.printf("I SHOULD BE 0x68\n\r");
   
-  if (whoami == 0x98) // WHO_AM_I should always be 0x68
+  if (whoami == 0x68) // WHO_AM_I should always be 0x68
   {  
     //pc.printf("MPU6050 is online...");
     wait(1);