Quote:
Originally Posted by RyanN
The breakout board has the A0 pin connected to ground, so you are correct in using 0x68.
I have no idea if my code works since I no longer have an MPU-9150, but maybe it'll point out your problem.
|
Ok, did some tweaking and it worked. I added the gyro and accelerometer too, BUT the magnetometer is still an issue. According to the Arduino code I was refering to, as well as the GitHub example linked in the Sparkfun page, you have to open a new channel with device 0x0C, which is the magnetometer, and then set the register 0x0A to 0x01, but the issue is there is NO 0x0C device.