Added basic i2c code