further changes to i2c library, beginning hardware testing