I am building a new quadcopter, using i2C ESCs this time. Also i use MPU-6050 which is also I2C. (the addresses are different, 52, 54, 56, 58 for the ESCs and 69 for the MPU)
The code for the ESCs to work is simply this: Wire.beginTransmission(0x52); Wire.write(FL); // Front Left, 0-255 Wire.endTransmission();
It works perfectly only if I [u]DON'T[/u] call wire.begin() but the MPU-6050 does not work if I do not call wire.begin()
I guess they work at different speeds or something. What is the default speed of Wire before i set it to 100KHz with Wire.begin() ? Also can i change the Wire speed whenever i want inside my code?