create software i2c lib