Using a loop seems to defy the point of using an interrupt in the first place - might as well just poll the i/p. Surely there is a better way to use the interrupt, or is this one of the limitations of Python?-rst- wrote:You need to keep the script running using an (near-)infinite loop - something like:
That would be pygameidunnoman wrote:Thanks guys, I will check out ptgame
... and to think of all that chocolate we wastedevilkitty wrote:I have it using the relay now