photoelectric switch, Analog photosensor