speendo/photocell
A short interrupt based Python script to detect the state of a photocell on a RaspberryPi. This project requires the GPIO-pins to be accessible for the executing user (in Raspbian Jessie and newer, this is the case for the pi user per default)