On a Pi3 running Bookworm 64-bit with Desktop 6.6.31+rpt-rpi-v8, no runtime error occurs for me using RPi.GPIO, using GPIO 21 and That code works fine, but is not edge detection of course. Am I missing something?
I am running in a python venv of course.
Code:
GPIO.setup(BtnPin, GPIO.IN, pull_up_down=GPIO.PUD_UP)
I am running in a python venv of course.
Statistics: Posted by neilgl — Sun Aug 11, 2024 9:51 pm