RaspberryPi Repo photosensor: Set pin in response to changed state on a pin connected to a light sensor.