Hi, guys. I'm trying to make Maple-mini to read values from my sensors (HMC5883L and MPU6050) with the example code provided on Sparkfun websites, but all I'm getting are some output values that are not changed. Can someone teach me what parts of the codes should be modified or how to write code to use I2C method? I got the example code from here, and I modified it a bit so it can compile successfully (ex. serialusb.print).
https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050
https://www.sparkfun.com/products/10530
Thank you so much!