I am trying to building a flight controller with Arduino
for that, I need a magnetometer and barometric altimeter
The problem is communication to both sensors are via I2C, is this possible with the ArduinoMega, which only has pin 20 and 21 assigned for I2C
i got this from another tutorial forum: "I2C is a bus, with multiple slave devices on a single pair of wires. You can chain a number of devices off the same pair of wires, up until you exceed the 400 pF total capacitance of the combined inputs on your devices as well as the total length of cables."
Does this mean I should make Arduino the master and the two sensors slaves?