Update lightsensor.c