modified i2c_init
test