Add a function to get measurments from the light sensor.