06.10.2016, 22:56 
		
	
	Code:
def destory():
    GPIO.cleanup()  # Release resource
if __name__ == '__main__':  # Program start from here
    setup()
    try:
        loop()
    except KeyboardInterrupt:  # When 'Ctrl+C' is pressed, the child program destroy() will be executed.
        destory()Ich bin ja wahrlich kein Python-Experte, aber mir scheint da sind Buchstabendreher drin: destory oder destroy?
Wie gesagt, ich bin kein Experte und kann es nicht beurteilen. Ist mir nur ins Auge gesprungen.

 

 

