Compass module that doesn't use I2C

So basically I need to find the I2C address of each device, and then make sure they don't match?

Then what? How do I write to both devices?

I'm using the U8GLIB library for the OLED, and I found a piece of code that uses MechaQMC5883 and Wire for the libraries on a compass.