I2C software simulation library