Translations:RPi/38/de

From GIMX
Jump to: navigation, search

def Shutdown(channel):

 GPIO.output(led, True)
 time.sleep(0.2)
 GPIO.output(led, False)
 time.sleep(0.2)
 GPIO.output(led, True)
 time.sleep(0.2)
 GPIO.output(led, False)
 os.system("sudo shutdown -h now")