Added Arduino code for i2c and GPIO