dominic03 wrote: ↑
Tue Jan 08, 2019 1:59 pm
then run it.
Thanks, already tried that. Found the problem though: I'm using the Adafruit RGB matrix "bonnet", and it seems to hog all the pins if configured first - swapping the init blocks around (GPIO first) seems
to have solved it. Confusing error message, but I suppose it makes sense.
Nope, spoke too soon - it worked once
and now I get
Code: Select all
sudo python matrix_v2.py
Traceback (most recent call last):
File "matrix_v2.py", line 97, in <module>
GPIO.add_event_detect(button, GPIO.FALLING, bouncetime=500)
RuntimeError: Failed to add edge detection
"button" = BCM #19 (not using SPI)