Reads the photo-resistor.