Board: AMB82-mini
Code : AmebaWire/MPU6050/MPI6050_DMP6_using_DMP_V6v12.ino
how to modify the code to run with I2C1 ?
Wire1.begin() doesn’t make I2C1 working with MPU6050
Board: AMB82-mini
Code : AmebaWire/MPU6050/MPI6050_DMP6_using_DMP_V6v12.ino
how to modify the code to run with I2C1 ?
Wire1.begin() doesn’t make I2C1 working with MPU6050
Hi @rkuo2000 ,
Thank you for your patience. In Wire.cpp line 349-350, kindly comment out the original Wire and replace Wire1 with Wire
// TwoWire Wire = TwoWire((void *)(&i2cwire0), 12, 13);
TwoWire Wire = TwoWire((void *)(&i2cwire1), 9, 10);