Example in C for I2C bus