Changing the way the data is read from Sensor