You will need to change the I2C address of one of them, and inform the library.
Adafruit documentation: Overview | Adafruit MMA8451 Accelerometer Breakout | Adafruit Learning System
You will need to change the I2C address of one of them, and inform the library.
Adafruit documentation: Overview | Adafruit MMA8451 Accelerometer Breakout | Adafruit Learning System