und danke __deets__ für den workaround (gpiozero )
hat zwar nicht das innerloop problem gelöst aber mit gpiozero gehts auch
Code: Alles auswählen
while data == "BS":
GPIO.output(15, GPIO.HIGH)
time.sleep(0.5)
GPIO.output(15, GPIO.LOW)
time.sleep(0.5)