大家好,我现在用的是Pi 3,在我使用按钮也就是“
GPIO.add_event_detect(17, GPIO.FALLING, callback=start_process, bouncetime=300)
GPIO.add_event_detect(27, GPIO.FALLING, callback=stop_process, bouncetime=300)
”这行python代码的时候就会返回RuntimeError:Failed to add edge detection。现在还没有解决方案,请问这是怎么回事?该怎么操作比较好?我尝试使用sudo运行也不行,,,