Re: Nach Aktualisierung von Raspi-Kernel, GPIO geht nicht mehr
Daniel Leidert <[email protected]> Tue, 12 Mar 2024 13:16:37 +0100
| Newsgroups | gmane.user-groups.linux.dresden |
|---|---|
| Message-ID | <[email protected]> |
Am Dienstag, dem 12.03.2024 um 07:53 +0100 schrieb Luca Bertoncello: > [..] > Hier die Funktion mit dem Problem: > > GPIO.setup(speakerPIN, GPIO.OUT) > GPIO.setup(key2PIN, GPIO.IN, pull_up_down = GPIO.PUD_UP) > GPIO.setup(key3PIN, GPIO.IN, pull_up_down = GPIO.PUD_UP) > GPIO.add_event_detect(key2PIN, GPIO.BOTH, callback=key2Cb, bouncetime=300) > GPIO.add_event_detect(key3PIN, GPIO.BOTH, callback=key3Cb, bouncetime=300) > > Und das Problem kommt genau bei der Zeile mit dem add_event_detect() und > zwar mit dem Fehler "RuntimeError: Failed to add edge detection". > > Hat jemand eine Ahnung, was plötzlich passiert ist und wie ich das lösen > kann? https://sourceforge.net/p/raspberry-gpio-python/tickets/210/ ? Gruß, Daniel