Updated i2c code to use WiringPi2