What I see from the OP looks very like someone has done cut&paste of I2C code but does not understand use of simple serial or blinking led13 or even that without output it is impossible to tell if the chip is doing anything but conducting electricity.