RPi code for connecting over twi