Python i2c write and read sample