Refactored I2C code to improve portability