Using values from 9DOF Razor in Arduino Mega

could you post the code you used to simply print out the data from the razor, I've tried several and for the life of me I can't get it to work, all I'd like at the moment is to get the data from the razor onto the serial monitor, Thanks