Ok, now I understand that you probably mean that you want to drive the accelerometer with the I2C protocol. That's probably what you mean with the IIC.
So, have you started writing code? Is there any specific problem that you encounter?
Actually, you have to write code that implements the functionality of an I2C master. The I2C master drives the SCL line and when it wants to read from an I2C slave, it sends specific characters on the SDA line. Then the I2C slave responds, by driving the SDA line. I believe you can find sample code by googling.
However, if you have problems that are specific with the part (the accelerometer) that you want to drive, then you have to ask more specific help. We can't help you with such a general question.