Fix i2c read bug in the read function by adding a small delay.