I2C read example in C