Fork of MPU-6050 by
Diff: MPU6050.h
- Revision:
- 8:15523fc1427d
- Parent:
- 7:ea53dc62603d
--- a/MPU6050.h Sun May 15 09:33:34 2016 +0000 +++ b/MPU6050.h Tue May 24 08:28:20 2016 +0000 @@ -42,9 +42,9 @@ // Using the GY-521 breakout board, I set ADO to 0 by grounding through a 4k7 resistor // Seven-bit device address is 110100 for ADO = 0 and 110101 for ADO = 1 if(ad0 == 0) { - adr = 0x68; + adr = 0x68 << 1; } else { - adr = 0x69; + adr = 0x69 << 1; } // Specify sensor full scale