changing i2c_read to char return