run I2C master code without flickering