… //A delay has to be given for the I2C bus to have finished its write operation __delay_ms(0x10); …