Add I2C (smbus) write functionality