IMU LSM9DS0

I am working on a 2 wheel balancing robot and I am using LSM9DS0 for that first I had a sparkfun LSM9DS0 board which then stopped working for some reason now I ordered an adafruit LSM9DS0 IMU now I am using I2C for this. Is there any difference between the two ?? Will the same library work for both?? This is my final year project so any help will be great. Thanks!