started converted i2c status reading to bitwise